summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-26 11:24:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-26 11:24:52 +0200
commitf54f96a67572d770d3eceb33d5df18f0b64016ce (patch)
treeaea4673f039f1d210e5bc120e36c8c61bdda5ec1 /qfunctionconfigurator
parente6a285d6f35acab46292e35c1cd8bc5f4eb90374 (diff)
qfc: add missing mutex
Diffstat (limited to 'qfunctionconfigurator')
-rw-r--r--qfunctionconfigurator/functionconfig.cpp1
1 files changed, 1 insertions, 0 deletions
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<QPointF> Map::getPoints() {
void Map::invalidate_unsaved_settings()
{
+ QMutexLocker foo(&_mutex);
cur = saved;
reload();
}