diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2013-09-17 16:30:32 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-18 17:24:33 +0200 |
commit | 9fa7195f0f2b8e7148215df564240dbfdad34935 (patch) | |
tree | adf84afa4cb65801c633186f59e9e8ea8d253edd /src/bluetooth/qbluetoothserver_bluez.cpp | |
parent | 4810f41772cd0b86f04064f556d2c88cdc4a548f (diff) |
Lower the verbosity of bluetooth
Remove some qDebug statements and change qDebugs to qWarning in case of an error.
Task-number: QTBUG-32253
Change-Id: Ia647d3f485cae56cc9f9c6725400f5b4617b7bf7
Reviewed-by: Alex Blasche <alexander.blasche@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 ae4fbb90..cd802648 100644 --- a/src/bluetooth/qbluetoothserver_bluez.cpp +++ b/src/bluetooth/qbluetoothserver_bluez.cpp @@ -239,7 +239,7 @@ void QBluetoothServer::setSecurityFlags(QBluetooth::SecurityFlags security) if (security.testFlag(QBluetooth::Secure)) lm |= RFCOMM_LM_SECURE; - qDebug() << hex << "Setting lm to" << lm << security; + //qDebug() << hex << "Setting lm to" << lm << security; if (setsockopt(d->socket->socketDescriptor(), SOL_RFCOMM, RFCOMM_LM, &lm, sizeof(lm)) < 0){ qWarning() << "Failed to set socket option, closing socket for safety" << errno; |