@Chris-Kawa ```
Found it and as expected it was a very stupid mistake.
I have changed the array to a class available, but I was passing it indexed - as local variable - to my function.
Hence when I passed index 1 it became FIRST entry - 0 - in my test iteration...
Chris , thanks very much for all you help.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
"void MainWindow::menu_slot_indexed(int)"
"add it as subwindow "
"Run bluetootctl... \n void MainWindow_Bluetooth::on_actionBluetooth_service_enable_triggered()"
"void MainWindow_Bluetooth::Process_Menu_Index(int)"
("Controller", "Agent registered") ("Discovery started", "SPP_CA") ("Controller", "Agent registered")
"1"
"Process command...QString BT_Utility_Library::ProcessCommand_Index(char *, QStringList *, int)"
("Discovery started", "SPP_CA") ("Controller", "Agent registered") ()
"void MainWindow_Bluetooth::Process_Menu_Index(int)"