mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-08 06:00:59 -07: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;
|
dirty = false;
|
||||||
|
locker.unlock();
|
||||||
|
|
||||||
#ifndef Q_OS_MAC
|
#ifndef Q_OS_MAC
|
||||||
settings->sync(); // Important to get error status
|
settings->sync(); // Important to get error status
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue