diff options
-rw-r--r-- | core/settings/qPref.cpp | 1 | ||||
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp index fb80e9d92..f5239ac5d 100644 --- a/core/settings/qPref.cpp +++ b/core/settings/qPref.cpp @@ -15,6 +15,7 @@ static qPref *self = new qPref; void qPref::loadSync(bool doSync) { + qPrefAnimations::instance()->loadSync(doSync); qPrefCloudStorage::instance()->loadSync(doSync); qPrefDisplay::instance()->loadSync(doSync); } diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index 31920fded..9020143d2 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.cpp +++ b/core/subsurface-qt/SettingsObjectWrapper.cpp @@ -2020,9 +2020,7 @@ void SettingsObjectWrapper::load() qPrefDisplay::instance()->load(); - s.beginGroup("Animations"); - GET_INT("animation_speed", animation_speed); - s.endGroup(); + qPrefAnimations::instance()->load(); s.beginGroup("Network"); GET_INT_DEF("proxy_type", proxy_type, QNetworkProxy::DefaultProxy); |