diff options
Diffstat (limited to 'src/bluetooth/qbluetoothserver_android.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothserver_android.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothserver_android.cpp b/src/bluetooth/qbluetoothserver_android.cpp index 5089d3ce..33daa161 100644 --- a/src/bluetooth/qbluetoothserver_android.cpp +++ b/src/bluetooth/qbluetoothserver_android.cpp @@ -135,7 +135,7 @@ bool QBluetoothServer::listen(const QBluetoothAddress &localAdapter, quint16 por if (!ensureAndroidPermission(BluetoothPermission::Connect)) { qCWarning(QT_BT_ANDROID) << "Bluetooth server listen() failed due to missing permissions"; - d->m_lastError = QBluetoothServer::UnknownError; + d->m_lastError = QBluetoothServer::MissingPermissionsError; emit errorOccurred(d->m_lastError); return false; } |