From d4e76dac9e8dbbb784c7133a4cc918de3121f35c Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 12 Jul 2018 10:25:28 +0200 Subject: core: remove Animations from SettingsObjectWrapper and activate qPrefAnimations remove Animations from SettingsObjectWrapper and reference qPrefAnimations update files using SettingsObjectWrapper/Animations to user qPrefAnimations this activated qPrefAnimations Signed-off-by: Jan Iversen --- desktop-widgets/preferences/preferences_defaults.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp index 0df9ebde7..a7b5e4c1d 100644 --- a/desktop-widgets/preferences/preferences_defaults.cpp +++ b/desktop-widgets/preferences/preferences_defaults.cpp @@ -93,6 +93,6 @@ void PreferencesDefaults::syncSettings() display->set_font_size(ui->fontsize->value()); display->set_display_invalid_dives(ui->displayinvalid->isChecked()); - auto animation = SettingsObjectWrapper::instance()->animation_settings; - animation->setAnimationSpeed(ui->velocitySlider->value()); + auto animation = qPrefAnimations::instance(); + animation->set_animation_speed(ui->velocitySlider->value()); } -- cgit v1.2.3-70-g09d2