Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-07-14 08:15:23 -07:00
commit dc22747cb0
14 changed files with 191 additions and 51 deletions

View file

@ -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());
}