From f54f96a67572d770d3eceb33d5df18f0b64016ce Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 26 Jul 2015 11:24:52 +0200 Subject: qfc: add missing mutex --- qfunctionconfigurator/functionconfig.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qfunctionconfigurator') diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp index 31e3641d..cf2516ca 100644 --- a/qfunctionconfigurator/functionconfig.cpp +++ b/qfunctionconfigurator/functionconfig.cpp @@ -177,6 +177,7 @@ const QList Map::getPoints() { void Map::invalidate_unsaved_settings() { + QMutexLocker foo(&_mutex); cur = saved; reload(); } -- cgit v1.2.3