mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Settings update: Remember to load the "UpdateManager" settings
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9b2404fcb4
commit
f745a25cb7
1 changed files with 5 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue