diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-17 17:42:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-17 17:42:44 +0200 |
commit | 7b907c5f88836effdefcad320d398ce1b18e857d (patch) | |
tree | 044fa9b9dc47e5aff18a9d5cb2834613cb985606 /qfunctionconfigurator/functionconfig.h | |
parent | f8edb5c556f970f5fc9be8919e054e0d973e9dcc (diff) |
splines: mutex without ptr; appease -Wreorder
Diffstat (limited to 'qfunctionconfigurator/functionconfig.h')
-rw-r--r-- | qfunctionconfigurator/functionconfig.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qfunctionconfigurator/functionconfig.h b/qfunctionconfigurator/functionconfig.h index f1310a8c..b6257df2 100644 --- a/qfunctionconfigurator/functionconfig.h +++ b/qfunctionconfigurator/functionconfig.h @@ -19,7 +19,7 @@ class FTNOIR_TRACKER_BASE_EXPORT FunctionConfig { private: - QMutex* _mutex; + QMutex _mutex; QList<QPointF> _points; void reload(); float* _data; @@ -47,7 +47,7 @@ public: // void removePoint(int i); void removeAllPoints() { - QMutexLocker foo(_mutex); + QMutexLocker foo(&_mutex); _points.clear(); reload(); } |