diff options
Diffstat (limited to 'src/connectivity/bluetooth/qbluetoothserviceinfo_symbian.cpp')
-rw-r--r-- | src/connectivity/bluetooth/qbluetoothserviceinfo_symbian.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/connectivity/bluetooth/qbluetoothserviceinfo_symbian.cpp b/src/connectivity/bluetooth/qbluetoothserviceinfo_symbian.cpp index 8b684f3006..3346cf33fd 100644 --- a/src/connectivity/bluetooth/qbluetoothserviceinfo_symbian.cpp +++ b/src/connectivity/bluetooth/qbluetoothserviceinfo_symbian.cpp @@ -289,7 +289,9 @@ bool QBluetoothServiceInfo::registerService() const bool QBluetoothServiceInfo::unregisterService() const { Q_D(const QBluetoothServiceInfo); - + if(d->serviceRecord == 0) + return true; + if (!d->ensureSdpConnection()) return false; |