summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/osx/osxbtgcdtimer_p.h
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2018-12-13 15:48:57 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2018-12-18 09:26:02 +0000
commitdb0f1f7ab0892c84744608e073fc99999ef28fdd (patch)
tree664f809b85cb615e42b688b2ff4c5636ba4b24a9 /src/bluetooth/osx/osxbtgcdtimer_p.h
parent9f5c8e5253a742d148f713dcbb137ba26ffa4089 (diff)
Fix broken timeout handling in osxbtcentral manager
Trying to do several things (for example, discovering chars on several services) in non-sequential manner is allowed but will result in the broken 'object under watch' logic and thus a failure to report some operation finished. Task-number: QTBUG-72487 Change-Id: I9674f93e0c4d5cbfd50ac2f828d0d650031e056c Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/osx/osxbtgcdtimer_p.h')
-rw-r--r--src/bluetooth/osx/osxbtgcdtimer_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/osx/osxbtgcdtimer_p.h b/src/bluetooth/osx/osxbtgcdtimer_p.h
index 153e9033..6bd82c9a 100644
--- a/src/bluetooth/osx/osxbtgcdtimer_p.h
+++ b/src/bluetooth/osx/osxbtgcdtimer_p.h
@@ -98,7 +98,7 @@ QT_BEGIN_NAMESPACE
namespace OSXBluetooth {
using GCDTimerObjC = QT_MANGLE_NAMESPACE(OSXBTGCDTimer);
-using GCDTimer = ObjCScopedPointer<GCDTimerObjC>;
+using GCDTimer = ObjCStrongReference<GCDTimerObjC>;
} // namespace OSXBluetooth