mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-07 16:53:00 -07:00
[SettingsManager] Properly handle multithreaded access again
This commit is contained in:
parent
7c9fbe2be0
commit
97ff9f049f
3 changed files with 25 additions and 4 deletions
|
|
@ -27,10 +27,11 @@ public:
|
|||
void sync();
|
||||
|
||||
protected:
|
||||
QString settingPath;
|
||||
QString defaultGroup;
|
||||
QString defaultSubGroup;
|
||||
|
||||
mutable QSettings settings;
|
||||
QSettings getSettings() const;
|
||||
|
||||
void setValue(const QVariant &value, const QString &name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue