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:
parent
ead05c8e17
commit
69c7ed676a
@ -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);
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user