summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothsocket_osx.mm
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-07-06 12:47:22 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-07-10 05:51:32 +0000
commite93517592f6a1e08d3019c0e425fbf47df4dab25 (patch)
tree2520d11ec5dcb16affe5796b6801aa83ba225bae /src/bluetooth/qbluetoothsocket_osx.mm
parentb80ed337cb3a145038ad6384df3bfcce8134a0e7 (diff)
Add debug output for QBluetoothSocket::UnsupportedProtocolError
Change-Id: Ia68da10c26ed0baff95a1f696b5a248595d23b1d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_osx.mm')
-rw-r--r--src/bluetooth/qbluetoothsocket_osx.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothsocket_osx.mm b/src/bluetooth/qbluetoothsocket_osx.mm
index cde98720..71e249fe 100644
--- a/src/bluetooth/qbluetoothsocket_osx.mm
+++ b/src/bluetooth/qbluetoothsocket_osx.mm
@@ -770,6 +770,9 @@ QDebug operator<<(QDebug debug, QBluetoothSocket::SocketError error)
case QBluetoothSocket::NetworkError:
debug << "QBluetoothSocket::NetworkError";
break;
+ case QBluetoothSocket::UnsupportedProtocolError:
+ debug << "QBluetoothSocket::UnsupportedProtocolError";
+ break;
default:
debug << "QBluetoothSocket::SocketError(" << (int)error << ")";
}