diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-02-14 12:13:58 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-14 14:43:17 +0100 |
commit | e7f2578c612cac7532fd75111c87c71abc3c3f48 (patch) | |
tree | ed859e235a64fd4ac8b82ca6d0aeae7311a902de /src/bluetooth/qbluetoothserver_bluez.cpp | |
parent | 27636f0063c1acb36659dd3ecced62bf2bdb131b (diff) |
Fix namespaced builds
It seems the logging frameworks function pointer
creates errors on some compilers.
Change-Id: I35d9b2bbc9817789bfd1eafa9c62d19ca72eda8c
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothserver_bluez.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothserver_bluez.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothserver_bluez.cpp b/src/bluetooth/qbluetoothserver_bluez.cpp index 3cbb708c..b78fb526 100644 --- a/src/bluetooth/qbluetoothserver_bluez.cpp +++ b/src/bluetooth/qbluetoothserver_bluez.cpp @@ -274,7 +274,7 @@ void QBluetoothServer::setSecurityFlags(QBluetooth::SecurityFlags security) if (security.testFlag(QBluetooth::Secure)) lm |= RFCOMM_LM_SECURE; - qCDebug(QT_BT_BLUEZ()) << hex << "Setting lm to" << lm << security; + qCDebug(QT_BT_BLUEZ) << hex << "Setting lm to" << lm << security; if (setsockopt(d->socket->socketDescriptor(), SOL_RFCOMM, RFCOMM_LM, &lm, sizeof(lm)) < 0){ qCWarning(QT_BT_BLUEZ) << "Failed to set socket option, closing socket for safety" << errno; |