mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Hold the Preferences lock the absolute minimum time.
This commit is contained in:
parent
153f3328f3
commit
89db090cb9
@ -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…
Reference in New Issue
Block a user