summaryrefslogtreecommitdiffstats
path: root/src/userconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/userconfig.cpp')
-rw-r--r--src/userconfig.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/userconfig.cpp b/src/userconfig.cpp
index 7bc83fe..31ab9e9 100644
--- a/src/userconfig.cpp
+++ b/src/userconfig.cpp
@@ -90,3 +90,10 @@ bool UserConfig::isNewsHelpOpen()
init();
return settings->value(KEY_NEWS_OPEN).toBool();
}
+
+void UserConfig::sync()
+{
+ if (settings != nullptr) {
+ settings->sync();
+ }
+}