summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/osx
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-04-08 10:22:51 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2016-04-08 10:22:51 +0200
commitf8759f683cfc433c432059e1160d2ab657baaec6 (patch)
tree0bd858d691a110aef42a420d1f3b8c499e4c0780 /src/bluetooth/osx
parentffbcf72ce353d1fb0568dbc87f5da344e4ccc690 (diff)
parent1f83f647a62e6f0ee1fd5eaf3e48d28c3a4f01b4 (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-beta1
Diffstat (limited to 'src/bluetooth/osx')
-rw-r--r--src/bluetooth/osx/osxbtcentralmanager.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/osx/osxbtcentralmanager.mm b/src/bluetooth/osx/osxbtcentralmanager.mm
index 9e0451d2..62009845 100644
--- a/src/bluetooth/osx/osxbtcentralmanager.mm
+++ b/src/bluetooth/osx/osxbtcentralmanager.mm
@@ -878,7 +878,7 @@ QT_END_NAMESPACE
CBService *const s = [toVisit objectAtIndex:i];
if (equal_uuids(s.UUID, qtUuid))
return s;
- if ([visitedNodes containsObject:s] && s.includedServices && s.includedServices.count) {
+ if (![visitedNodes containsObject:s] && s.includedServices && s.includedServices.count) {
[visitedNodes addObject:s];
[toVisitNext addObjectsFromArray:s.includedServices];
}