From 89db090cb93d4a110f6d5661c89ee24fdbfaf1b6 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 23 Feb 2015 19:38:30 +0200 Subject: [PATCH] Hold the Preferences lock the absolute minimum time. --- src/core/preferences.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/preferences.cpp b/src/core/preferences.cpp index cf1467c30..44bf95304 100644 --- a/src/core/preferences.cpp +++ b/src/core/preferences.cpp @@ -148,6 +148,7 @@ void Preferences::save() { } dirty = false; + locker.unlock(); #ifndef Q_OS_MAC settings->sync(); // Important to get error status