mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'qPrefAnimations' of https://github.com/janiversen/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
commit
dc22747cb0
14 changed files with 191 additions and 51 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