mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
2 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue