diff options
Diffstat (limited to 'src/bluetooth/qbluetoothsocket.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothsocket.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothsocket.cpp b/src/bluetooth/qbluetoothsocket.cpp index 2f2660d0..73d82591 100644 --- a/src/bluetooth/qbluetoothsocket.cpp +++ b/src/bluetooth/qbluetoothsocket.cpp @@ -548,6 +548,7 @@ void QBluetoothSocket::discoveryFinished() qCDebug(QT_BT) << "Didn't find any"; d->errorString = tr("Service cannot be found"); setSocketError(ServiceNotFoundError); + setSocketState(QBluetoothSocket::UnconnectedState); d->discoveryAgent->deleteLater(); d->discoveryAgent = 0; } |