diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-12-06 14:16:31 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-12-18 15:56:42 +0100 |
commit | f2d752c59f5a1d2e815394d718350d0fcaf43ef6 (patch) | |
tree | 6c7203f7c36e03c5ce50ff100ac62bdebe205353 /src/gui/kernel/qwindowsysteminterface_p.h | |
parent | cf3d4cf3c3755faa5474267bf5097e87b9f8152b (diff) |
QWindowSystemInterface: use QBasicMutex and qt_scoped_lock
There's no reason to use a class-static mutex object here.
Use a namespace-static QBasicMutex, port to qt_scoped_lock.
Change-Id: Ia9bd3c2fadbf1da25ef79bb393c899b678cbc182
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qwindowsysteminterface_p.h')
-rw-r--r-- | src/gui/kernel/qwindowsysteminterface_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/kernel/qwindowsysteminterface_p.h b/src/gui/kernel/qwindowsysteminterface_p.h index 6e4bce607e..dd6f29b41f 100644 --- a/src/gui/kernel/qwindowsysteminterface_p.h +++ b/src/gui/kernel/qwindowsysteminterface_p.h @@ -529,7 +529,6 @@ public: static QWaitCondition eventsFlushed; static QMutex flushEventMutex; - static QMutex pointIdMapMutex; static QAtomicInt eventAccepted; static QList<QTouchEvent::TouchPoint> |