summaryrefslogtreecommitdiffstats
path: root/src
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
parentffbcf72ce353d1fb0568dbc87f5da344e4ccc690 (diff)
parent1f83f647a62e6f0ee1fd5eaf3e48d28c3a4f01b4 (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-beta1
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/doc/images/peripheral-structure.pngbin74765 -> 74089 bytes
-rw-r--r--src/bluetooth/osx/osxbtcentralmanager.mm2
-rw-r--r--src/bluetooth/qbluetoothhostinfo.cpp4
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/doc/images/peripheral-structure.png b/src/bluetooth/doc/images/peripheral-structure.png
index a42c74da..55cdf16b 100644
--- a/src/bluetooth/doc/images/peripheral-structure.png
+++ b/src/bluetooth/doc/images/peripheral-structure.png
Binary files differ
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];
}
diff --git a/src/bluetooth/qbluetoothhostinfo.cpp b/src/bluetooth/qbluetoothhostinfo.cpp
index 15a5cd5e..ca48fd23 100644
--- a/src/bluetooth/qbluetoothhostinfo.cpp
+++ b/src/bluetooth/qbluetoothhostinfo.cpp
@@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE
*/
/*!
- Constrcuts a null QBluetoothHostInfo object.
+ Constructs a null QBluetoothHostInfo object.
*/
QBluetoothHostInfo::QBluetoothHostInfo() :
d_ptr(new QBluetoothHostInfoPrivate)
@@ -62,7 +62,7 @@ QBluetoothHostInfo::QBluetoothHostInfo() :
}
/*!
- Constrcuts a new QBluetoothHostInfo which is a copy of \a other.
+ Constructs a new QBluetoothHostInfo which is a copy of \a other.
*/
QBluetoothHostInfo::QBluetoothHostInfo(const QBluetoothHostInfo &other) :
d_ptr(new QBluetoothHostInfoPrivate)