summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-10-17 07:50:11 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-10-17 07:50:11 +0200
commit013ad0570844975cd5c72a77d1cfefa30c3ea656 (patch)
tree9fb1d5afc8b29f97a60ca20d514269b9d1658ef2 /src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm
parent18af3226765b62312acc8f801cc531fde0d9822b (diff)
parent80d85141aa496583c5cfa6dd0f62d5eb4a8ba660 (diff)
Merge remote-tracking branch 'gerrit/5.9' into 5.10v5.10.0-beta3
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm')
-rw-r--r--src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm b/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm
index 9e3f6a57..7f037596 100644
--- a/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm
+++ b/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm
@@ -245,6 +245,8 @@ void QBluetoothDeviceDiscoveryAgentPrivate::startClassic()
Q_ASSERT(requestedMethods & QBluetoothDeviceDiscoveryAgent::ClassicMethod);
Q_ASSERT(agentState == NonActive);
+ OSXBluetooth::qt_test_iobluetooth_runloop();
+
if (!inquiry) {
// The first Classic scan for this DDA.
inquiry.reset([[DeviceInquiryObjC alloc]initWithDelegate:this]);