Index: sources/bluetooth/BluetoothInterface.cpp =================================================================== diff -u -r748e088be863e08a1f8d12ff895c2525cd891e31 -rec36df2f94c93e62095f49c7f65a30c2d508a579 --- sources/bluetooth/BluetoothInterface.cpp (.../BluetoothInterface.cpp) (revision 748e088be863e08a1f8d12ff895c2525cd891e31) +++ sources/bluetooth/BluetoothInterface.cpp (.../BluetoothInterface.cpp) (revision ec36df2f94c93e62095f49c7f65a30c2d508a579) @@ -712,11 +712,6 @@ if ( ! sender() ) return; QLowEnergyService *service = reinterpret_cast(sender()); switch (vState) { - case QLowEnergyService::InvalidService : - // After disconnection the services are invalidated by Qt. - // NOTIFY_DETAILS_ERROR - break; - case QLowEnergyService::ServiceDiscovered : { NOTIFY_SERVICE_DETAILS_DONE switch( service->serviceUuid().toUInt32() ) { @@ -742,9 +737,16 @@ break; } // DEBUG: printCharacteristics(service); + break; } + + case QLowEnergyService::InvalidService : + // After disconnection the services are invalidated by Qt. + // NOTIFY_DETAILS_ERROR + break; + default: - break; + break; } } @@ -944,7 +946,7 @@ switch(_device->state()) { case QLowEnergyController::ConnectingState : SKIPPER_TRY; - Q_FALLTHROUGH(); + // FALLTHROUGH case QLowEnergyController::DiscoveredState : // - For QLowEnergyController::DiscoveredState :