summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/functionconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'qfunctionconfigurator/functionconfig.h')
-rw-r--r--qfunctionconfigurator/functionconfig.h4
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();
}