diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2013-09-20 12:05:09 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-20 13:36:35 +0200 |
commit | 559c648e41a5a3b33127fd3a786934bff7ecf828 (patch) | |
tree | a9adb42d330b1d11f6bba6c60951b7ee955c4de1 /src/bluetooth/qbluetoothsocket.cpp | |
parent | e86b3b1c04f0abff92aeb752f3a5b8c9842d6934 (diff) |
QNX: Fix compilation and a compiler warning
Change-Id: Id3de289238013edfc9737f444d3db95be3bd761b
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
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); |