diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2016-05-20 08:18:35 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-05-20 07:36:29 +0000 |
commit | 09fc24e2b1956d0b877ea82ea30866b30a0ec3d4 (patch) | |
tree | 0456fd1002156ee729c69cdf13bf797e86cc4c20 /tests | |
parent | 2526f2c4f5a22d0d69bf6c96fedfd709e479b246 (diff) |
tst_qlowenergycontroller: Fixed condition for IOS
Change-Id: I92e3b8f6b3a9a80d0e59040e15c60062e1f49cc2
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp b/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp index 079a901f..60e5c9f1 100644 --- a/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp +++ b/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp @@ -250,7 +250,7 @@ void tst_QLowEnergyController::tst_connect() QList<QBluetoothHostInfo> localAdapters = QBluetoothLocalDevice::allDevices(); #ifdef Q_OS_IOS - if (remoteDeviceInfo.isValid()) + if (!remoteDeviceInfo.isValid()) #else if (localAdapters.isEmpty() || !remoteDeviceInfo.isValid()) #endif |