summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothsocket_android.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-03-25 17:38:35 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-27 20:04:12 +0100
commit788f9a580e42be5607672336aa1f62fcffb8a2d6 (patch)
tree1c370f60428d7febe5f50cd3fa7fefbc47633c84 /src/bluetooth/qbluetoothsocket_android.cpp
parenta6adc6b0bf3fcbe2cf807573797fe80b4ec62957 (diff)
Android: Fix error signal handling for rfcomm sockets
The signal/slot connection actually uses an int as parameter Change-Id: Ib9221137c36020d71834dca53040e174f855318e Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com> Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_android.cpp')
-rw-r--r--src/bluetooth/qbluetoothsocket_android.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothsocket_android.cpp b/src/bluetooth/qbluetoothsocket_android.cpp
index b208d6b1..f2969da8 100644
--- a/src/bluetooth/qbluetoothsocket_android.cpp
+++ b/src/bluetooth/qbluetoothsocket_android.cpp
@@ -201,8 +201,8 @@ void QBluetoothSocketPrivate::connectToServiceConc(const QBluetoothAddress &addr
inputThread = new InputStreamThread(this);
QObject::connect(inputThread, SIGNAL(dataAvailable()),
q, SIGNAL(readyRead()), Qt::QueuedConnection);
- QObject::connect(inputThread, SIGNAL(error()),
- this, SLOT(inputThreadError()), Qt::QueuedConnection);
+ QObject::connect(inputThread, SIGNAL(error(int)),
+ this, SLOT(inputThreadError(int)), Qt::QueuedConnection);
if (!inputThread->run()) {
//close socket again