summaryrefslogtreecommitdiffstats
path: root/src/bluetooth
diff options
context:
space:
mode:
authorTimur Pocheptsov <Timur.Pocheptsov@digia.com>2015-03-23 11:38:03 +0100
committerTimur Pocheptsov <Timur.Pocheptsov@digia.com>2015-03-23 10:52:08 +0000
commit1347daf482148127a75b72048db6b76ecc058242 (patch)
treec6beb2a27c56e82b789a168597e36fc7458f9d96 /src/bluetooth
parenteb78c7e82288fb730c40b97f720a4b6d7f251d35 (diff)
Bluetooth socket - fix invalid invokeMethod call on OS X
While removing hand-written signatures from warnings/errors, the correct name in invokeMethod was accidentally replaced with Q_FUNC_INFO - must be '_q_writeNotify' instead, now fixed. Change-Id: I65225de7cd6e2fdce0cdd8b7c9f09609feb49ae3 Task-number: QTBUG-45177 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth')
-rw-r--r--src/bluetooth/qbluetoothsocket_osx.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothsocket_osx.mm b/src/bluetooth/qbluetoothsocket_osx.mm
index 1d8cbd10..490c1bed 100644
--- a/src/bluetooth/qbluetoothsocket_osx.mm
+++ b/src/bluetooth/qbluetoothsocket_osx.mm
@@ -392,7 +392,7 @@ qint64 QBluetoothSocketPrivate::writeData(const char *data, qint64 maxSize)
// IOBluetoothL2CAPChannel buffered (writeAsync).
if (!txBuffer.size())
- QMetaObject::invokeMethod(this, Q_FUNC_INFO, Qt::QueuedConnection);
+ QMetaObject::invokeMethod(this, "_q_writeNotify", Qt::QueuedConnection);
char *dst = txBuffer.reserve(maxSize);
std::copy(data, data + maxSize, dst);