From c579af0a19d8259dc3cb72fa53a7af1856a0c06c Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Wed, 15 Aug 2018 11:57:02 +0200 Subject: [PATCH] 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 --- subsurface-mobile-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index 54f5f71d2..4f0bf1d7f 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -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;