Hold the Preferences lock the absolute minimum time.

This commit is contained in:
sledgehammer999 2015-02-23 19:38:30 +02:00
parent 153f3328f3
commit 89db090cb9

View file

@ -148,6 +148,7 @@ void Preferences::save() {
}
dirty = false;
locker.unlock();
#ifndef Q_OS_MAC
settings->sync(); // Important to get error status