summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-14 08:15:23 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-14 08:16:14 -0700
commitdc22747cb02caff55da809da234fd7ad1cf23f27 (patch)
treee9ac9a875c841974b10baa27fe58c41dfbbf1133 /desktop-widgets
parente834874a7a6f8e37fade28bf20640b8d0815373b (diff)
parentf63217495d27c77b2f7f866caec568a19ee9543d (diff)
downloadsubsurface-dc22747cb02caff55da809da234fd7ad1cf23f27.tar.gz
Merge branch 'qPrefAnimations' of https://github.com/janiversen/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/preferences/preferences_defaults.cpp4
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());
}