mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 13:28:50 +03:00
Hold the Preferences lock the absolute minimum time.
This commit is contained in:
parent
153f3328f3
commit
89db090cb9
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ void Preferences::save() {
|
|||
}
|
||||
|
||||
dirty = false;
|
||||
locker.unlock();
|
||||
|
||||
#ifndef Q_OS_MAC
|
||||
settings->sync(); // Important to get error status
|
||||
|
|
Loading…
Reference in a new issue