mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <jani@apache.org>
This commit is contained in:
parent
3a314c3dec
commit
d4e76dac9e
3 changed files with 5 additions and 43 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue