Index: sources/view/settings/VBluetooth.cpp =================================================================== diff -u -rab995780e1eb9082f3c33a357e1386c19de1fa81 -ra3260d61908e1e8d9296fbbd2b8215981f2cef00 --- sources/view/settings/VBluetooth.cpp (.../VBluetooth.cpp) (revision ab995780e1eb9082f3c33a357e1386c19de1fa81) +++ sources/view/settings/VBluetooth.cpp (.../VBluetooth.cpp) (revision a3260d61908e1e8d9296fbbd2b8215981f2cef00) @@ -129,6 +129,7 @@ case MBluetooth::eIS_Scan_Start : pairedAddr(""); + // DEBUG: LOG_APPED_UI(tr("Bluetooth unpaired." )); // pairedAddr == "" implies unpaired scanEnabled(false); // disable the scan button while the device is scanning reset(); break; @@ -144,6 +145,15 @@ scanEnabled(true); break; + case MBluetooth::eIS_Device_Connect : + if ( vData.devicePair != QBluetoothLocalDevice::Unpaired ) LOG_APPED_UI(tr("Bluetooth reconnected." )); + else LOG_APPED_UI(tr("Bluetooth paired and connected." )); + break; + + case MBluetooth::eIS_Device_Disconnect : + LOG_APPED_UI(tr("Bluetooth paired and disconnected." )); + break; + case MBluetooth::eIS_Idle : case MBluetooth::eIS_Local_Connect : case MBluetooth::eIS_Local_Error_Invalid : @@ -161,11 +171,9 @@ case MBluetooth::eIS_Device_Init : case MBluetooth::eIS_Device_Start : - case MBluetooth::eIS_Device_Connect : case MBluetooth::eIS_Device_Error_Init : case MBluetooth::eIS_Device_Error : case MBluetooth::eIS_Device_Done : - case MBluetooth::eIS_Device_Disconnect : case MBluetooth::eIS_Service_Start : case MBluetooth::eIS_Service_Invalid :