summaryrefslogtreecommitdiffstats
path: root/src/input/backend/genericdevicebackendnode_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-04-28 21:06:41 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-04-30 20:52:27 +0000
commitd8368cd58ae59658a802fd5f44abc66be5bb0333 (patch)
tree35312ebfda498557b51ce58c072a318dbcfeff4b /src/input/backend/genericdevicebackendnode_p.h
parentb2e143cc724f0e1a35cfa8ed5fe4142e33a884e7 (diff)
GenericDeviceBackendNode: aggregate mutex by value
The mutex does not partake in shared ownership, so there's no reason to hold it in a shared pointer. Change-Id: Ifcc2195d6b942fb881419b9f67b712c63afa8060 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input/backend/genericdevicebackendnode_p.h')
-rw-r--r--src/input/backend/genericdevicebackendnode_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/backend/genericdevicebackendnode_p.h b/src/input/backend/genericdevicebackendnode_p.h
index 5012b7ca9..8230ca360 100644
--- a/src/input/backend/genericdevicebackendnode_p.h
+++ b/src/input/backend/genericdevicebackendnode_p.h
@@ -80,7 +80,7 @@ public:
private:
QHash<int, qreal> m_axesValues;
QHash<int, qreal> m_buttonsValues;
- mutable QSharedPointer<QMutex> m_mutex;
+ mutable QMutex m_mutex;
};
class GenericDeviceBackendFunctor : public Qt3DCore::QBackendNodeMapper