Update global-settings.cpp

This commit is contained in:
Mouse Zhang 2021-02-25 14:45:44 +08:00 committed by GitHub
parent fbb15e4a14
commit cfe00a3045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();
// }
});