summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 09246b508..16e7ab7f9 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -1933,6 +1933,11 @@ void SettingsObjectWrapper::load()
prefs.conservatism_level = s.value("conservatism", prefs.conservatism_level).toInt();
s.endGroup();
+ s.beginGroup("UpdateManager");
+ prefs.update_manager.dont_check_for_updates = s.value("DontCheckForUpdates").toBool();
+ prefs.update_manager.last_version_used = copy_string(qPrintable(s.value("LastVersionUsed").toString()));
+ prefs.update_manager.next_check = copy_string(qPrintable(s.value("NextCheck").toString()));
+ s.endGroup();
}
void SettingsObjectWrapper::sync()