From 94a549e76759285476eb170665831e2b4ba59808 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 29 Mar 2016 21:43:37 -0500 Subject: 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 --- subsurface-mobile-main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'subsurface-mobile-main.cpp') 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 -- cgit v1.2.3-70-g09d2