diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-29 21:43:37 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-29 21:43:37 -0500 |
commit | 94a549e76759285476eb170665831e2b4ba59808 (patch) | |
tree | 95221b336626c7470bb35e62225426c6f02f1a78 /subsurface-mobile-main.cpp | |
parent | cae180036e94e56a4754d59847e972c8935f07e6 (diff) | |
download | subsurface-94a549e76759285476eb170665831e2b4ba59808.tar.gz |
QML UI: brute force password saving
This is embarrassing. I should have done this in the first place instead
of trying to hack around it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r-- | subsurface-mobile-main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index 74ba5477f..940c9225b 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -60,13 +60,8 @@ int main(int argc, char **argv) parse_xml_init(); taglist_init_global(); init_ui(); - // load the preferences and make sure to load the password - // the mobile UI makes no sense without that - prefs.save_password_local = true; loadPreferences(); - // some hard coded settings - prefs.save_password_local = true; // in case somehow the loaded prefs reset that prefs.animation_speed = 0; // we render the profile to pixmap, no animations // always show the divecomputer reported ceiling in red |