core: add qPrefAnimations to SettingsObjectWrapper/qPref load

correct missng qPrefAnimations in global load functions

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-07-22 16:14:16 +02:00 committed by Dirk Hohndel
parent ead05c8e17
commit 69c7ed676a
2 changed files with 2 additions and 3 deletions

View file

@ -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);
}

View file

@ -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);