From 8185d24e610e5655da8ccbcfcc4411ea2215fc1f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 27 Mar 2016 19:18:48 -0500 Subject: [PATCH] QML UI: force local saving of password commit d99c9312195c ("QML UI: remove the checkbox for remembering the password") made the incorrect assumption that this would always be true by default when it actually was false by default. Oops. Signed-off-by: Dirk Hohndel --- subsurface-mobile-main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index 7ed3e4256..999ad57ee 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -61,9 +61,12 @@ int main(int argc, char **argv) taglist_init_global(); init_ui(); loadPreferences(); + + // some hard coded settings + prefs.save_password_local = true; // the mobile UI makes no sense without that prefs.animation_speed = 0; - /* always show the divecomputer reported ceiling in red */ + // always show the divecomputer reported ceiling in red prefs.dcceiling = 1; prefs.redceiling = 1;