diff --git a/src/bluetooth/qlowenergycontroller.cpp b/src/bluetooth/qlowenergycontroller.cpp index e39df97c9e86bbc2c2ed8d8d5e6ef74654643568..3fb68e19c7f6a716bcaa31651dfe55c06ea5e8d1 100644 --- a/src/bluetooth/qlowenergycontroller.cpp +++ b/src/bluetooth/qlowenergycontroller.cpp @@ -226,6 +226,7 @@ void QLowEnergyControllerPrivate::setError( break; case QLowEnergyController::NoError: return; + default: case QLowEnergyController::UnknownError: errorString = QLowEnergyController::tr("Unknown Error"); break;