summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowscursor.cpp
diff options
context:
space:
mode:
authorHeikki Haveri <heikki.haveri@pastillilabs.com>2017-11-29 12:57:28 +0200
committerBogDan Vatra <bogdan@kdab.com>2017-12-12 20:12:49 +0000
commite55c7974db42a2c5bc5e6a8a1ef88ea5602ae266 (patch)
treee09dbe2f6d0a7b19e2271376c56cc2151ef6cc06 /src/plugins/platforms/windows/qwindowscursor.cpp
parent48d677365a1061aa973b38d7b640498830bda452 (diff)
Fix Android Service thread getting stuck in service startup
This change allows services using QAndroidService to function properly. A service using a plain QCoreApplication is still affected. The original code uses postfix decrement, causing an off-by-one error in reference counting, which, in turn, fails to properly release a semaphore. Fix by using deref() instead, which is also more readable, and consistent with the use of ref() elsewhere in the code. Task-number: QTBUG-64728 Change-Id: I99b59307638d619506c594f86de6d7d202d755f2 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowscursor.cpp')
0 files changed, 0 insertions, 0 deletions