diff options
Diffstat (limited to 'desktop-widgets/preferences/preferences_defaults.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferences_defaults.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } |