summaryrefslogtreecommitdiff
path: root/src/bluetooth/qbluetoothsocket.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-02-26 14:31:25 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-26 17:31:15 +0100
commitf58cddd97aa873d7d2b310d59e5fa1febbaba224 (patch)
tree781285ec293fdc2b0f949cb609360e293ea417e4 /src/bluetooth/qbluetoothsocket.cpp
parent98431098856cab7d386fa2921eef837ce5e6e03f (diff)
downloadqtconnectivity-f58cddd97aa873d7d2b310d59e5fa1febbaba224.tar.gz
Remove QBluetoothSocketPrivate::socketDescriptor()
The function is not required as the public accessor function directly returns the socket descriptor. Change-Id: I6d64bec7b4f0542ce213dc90dcfe30c3885ed21d Reviewed-by: Nedim Hadzic <nedimhadzija@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket.cpp')
-rw-r--r--src/bluetooth/qbluetoothsocket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothsocket.cpp b/src/bluetooth/qbluetoothsocket.cpp
index 42a9c870..6272ca1f 100644
--- a/src/bluetooth/qbluetoothsocket.cpp
+++ b/src/bluetooth/qbluetoothsocket.cpp
@@ -686,6 +686,7 @@ bool QBluetoothSocket::setSocketDescriptor(int socketDescriptor, QBluetoothServi
/*!
Returns the platform-specific socket descriptor, if available.
+ This function returns -1 if the descriptor is not available or an error has occurred.
*/
int QBluetoothSocket::socketDescriptor() const