summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-02-27 14:39:15 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-27 14:48:50 +0100
commitf45fd334face5532de827052c4dbb1749c709582 (patch)
tree337b87d74d0caccfd07d370fa8696837e92dc365
parentccaeb6539d2f7e9ac756a7f2017c9f9e8813e265 (diff)
Fix wrong error message.
Change-Id: I933d1f1e196b1009de6b33a2e603043d85d28b08 Reviewed-by: Nedim Hadzic <nedimhadzija@gmail.com> Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
-rw-r--r--src/bluetooth/qbluetoothsocket_android.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothsocket_android.cpp b/src/bluetooth/qbluetoothsocket_android.cpp
index 5c84e627..769a5e68 100644
--- a/src/bluetooth/qbluetoothsocket_android.cpp
+++ b/src/bluetooth/qbluetoothsocket_android.cpp
@@ -356,7 +356,7 @@ qint64 QBluetoothSocketPrivate::readData(char *data, qint64 maxSize)
Q_Q(QBluetoothSocket);
if (state != QBluetoothSocket::ConnectedState || !inputThread) {
qCWarning(QT_BT_ANDROID) << "Socket::readData: " << state << inputThread ;
- errorString = QBluetoothSocket::tr("Cannot write while not connected");
+ errorString = QBluetoothSocket::tr("Cannot read while not connected");
q->setSocketError(QBluetoothSocket::OperationError);
return -1;
}