From cfe00a304548ca2c7d6ea4cf4257466e7b1d9262 Mon Sep 17 00:00:00 2001 From: Mouse Zhang <42853944+MouseZhangZh@users.noreply.github.com> Date: Thu, 25 Feb 2021 14:45:44 +0800 Subject: [PATCH] Update global-settings.cpp --- libsearch/global-settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsearch/global-settings.cpp b/libsearch/global-settings.cpp index 78a3e86..4a84850 100644 --- a/libsearch/global-settings.cpp +++ b/libsearch/global-settings.cpp @@ -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(); // } });