mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
ssrf: remove SettingsObjectWrapper and update qPref calls
remove use of SettingsObjectWrapper:: remove include of SettingsObjectWrapper.h use qPrefFoo:: for setters and getters replace prefs.foo with qPrefXYZ::foo() where feasible (this expands to the same code, but gives us more control over the variable). Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
0f68e0cc2e
commit
c579af0a19
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ int main(int argc, char **argv)
|
|||
set_filename(NULL);
|
||||
|
||||
// some hard coded settings
|
||||
prefs.animation_speed = 0; // we render the profile to pixmap, no animations
|
||||
qPrefAnimations::set_animation_speed(0); // we render the profile to pixmap, no animations
|
||||
|
||||
// always show the divecomputer reported ceiling in red
|
||||
prefs.redceiling = 1;
|
||||
|
|
Loading…
Reference in a new issue