There was an error while loading. Please reload this page.
1 parent 6d63deb commit fa7fc1aCopy full SHA for fa7fc1a
1 file changed
src/devices/iconsolebike/iconsolebike.cpp
@@ -218,7 +218,7 @@ void iconsolebike::rfCommConnected() {
218
219
void iconsolebike::onSocketErrorOccurred(QBluetoothSocket::SocketError error) {
220
qDebug() << QStringLiteral("iconsolebike::onSocketErrorOccurred") << error;
221
- emit debug(QStringLiteral("Socket error: ") + QString::number(error));
+ emit debug(QStringLiteral("Socket error: %1").arg(static_cast<int>(error)));
222
}
223
224
void iconsolebike::readSocket() {
0 commit comments