Browse Source

Hold the Preferences lock the absolute minimum time.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
89db090cb9
  1. 1
      src/core/preferences.cpp

1
src/core/preferences.cpp

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

Loading…
Cancel
Save