diff options
Diffstat (limited to 'src/bluetooth/qbluetoothsocket.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothsocket.cpp b/src/bluetooth/qbluetoothsocket.cpp index f492d35e..5bd01730 100644 --- a/src/bluetooth/qbluetoothsocket.cpp +++ b/src/bluetooth/qbluetoothsocket.cpp @@ -350,7 +350,7 @@ void QBluetoothSocket::connectToService(const QBluetoothAddress &address, const { #ifdef QT_QNX_BLUETOOTH Q_D(QBluetoothSocket); - if (socketType() != Rfcomm) { + if (socketType() != QBluetoothServiceInfo::RfcommProtocol) { d->socketError = QBluetoothSocket::UnsupportedProtocolError; d->errorString = tr("Socket type not supported"); Q_EMIT error(d->socketError); |