Update global-settings.cpp
This commit is contained in:
parent
fbb15e4a14
commit
cfe00a3045
|
@ -77,7 +77,7 @@ void GlobalSettings::reset(const QString &key)
|
|||
QtConcurrent::run([=]() {
|
||||
// if (m_mutex.tryLock(1000)) {
|
||||
m_settings->remove(key);
|
||||
// m_settings->sync();
|
||||
m_settings->sync();
|
||||
// m_mutex.unlock();
|
||||
// }
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue