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:
jan Iversen 2018-08-15 11:57:02 +02:00 committed by Dirk Hohndel
parent 0f68e0cc2e
commit c579af0a19

View file

@ -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;