Index: sources/bluetooth/BluetoothInterface.cpp =================================================================== diff -u -re961fc7bcdeba8ffab9c96da20244b07405f8f99 -ra5c75192af33a9284e4b4886df0c337ba6fcc9f9 --- sources/bluetooth/BluetoothInterface.cpp (.../BluetoothInterface.cpp) (revision e961fc7bcdeba8ffab9c96da20244b07405f8f99) +++ sources/bluetooth/BluetoothInterface.cpp (.../BluetoothInterface.cpp) (revision a5c75192af33a9284e4b4886df0c337ba6fcc9f9) @@ -898,7 +898,7 @@ * \return true if the name provided starts with one of the supported keywords mentioned in the Omron documentation */ bool BluetoothInterface::isDeviceSupported( const QString &vName ) { - for (const QString &name : _supportedDeviceKeywords ) + for (const QString &name : qAsConst(_supportedDeviceKeywords) ) if ( vName.startsWith(name) ) return true; return false;