diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-05-23 11:59:43 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-05-23 11:59:43 +0200 |
commit | bde54c522b76eeb933296aa1a9e159facbf8e529 (patch) | |
tree | 642588398127104a31d23f3d45c0b31433124a9a /tests | |
parent | 5b548aa2ffe648810c487ecb895631da2be12a33 (diff) | |
parent | 4a9c146e151328165c0266aec432391655f8fc8b (diff) |
Merge remote-tracking branch 'gerrit/5.6' into 5.7
Change-Id: I33cfb293df15c82247561d3540a4513cdf63b910
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp b/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp index 701e1825..773c673b 100644 --- a/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp +++ b/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp @@ -245,7 +245,7 @@ void tst_QLowEnergyController::tst_connect() QList<QBluetoothHostInfo> localAdapters = QBluetoothLocalDevice::allDevices(); #if defined(Q_OS_IOS) || defined(Q_OS_TVOS) - if (remoteDeviceInfo.isValid()) + if (!remoteDeviceInfo.isValid()) #else if (localAdapters.isEmpty() || !remoteDeviceInfo.isValid()) #endif @@ -345,7 +345,7 @@ void tst_QLowEnergyController::tst_connect() // initiate characteristic discovery foreach (QLowEnergyService *service, savedReferences) { - qDebug() << "Discoverying" << service->serviceUuid(); + qDebug() << "Discovering" << service->serviceUuid(); QSignalSpy stateSpy(service, SIGNAL(stateChanged(QLowEnergyService::ServiceState))); QSignalSpy errorSpy(service, SIGNAL(error(QLowEnergyService::ServiceError))); |