diff options
author | jan Iversen <jani@apache.org> | 2018-08-15 11:57:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-15 16:11:39 -0700 |
commit | c579af0a19d8259dc3cb72fa53a7af1856a0c06c (patch) | |
tree | 1e9fc51bc25a98933a9592692c8072012c16dd4c | |
parent | 0f68e0cc2e6e9c4d4e07b065888b9982086748e7 (diff) | |
download | subsurface-c579af0a19d8259dc3cb72fa53a7af1856a0c06c.tar.gz |
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>
-rw-r--r-- | subsurface-mobile-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |