diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-27 19:18:48 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-27 19:28:31 -0500 |
commit | 8185d24e610e5655da8ccbcfcc4411ea2215fc1f (patch) | |
tree | ab6e3a80c985e85cf194f151cb21d5d7b4f3b62c /subsurface-mobile-main.cpp | |
parent | 46703737315e6ef6d896ee6388ca1c46661a57b7 (diff) | |
download | subsurface-8185d24e610e5655da8ccbcfcc4411ea2215fc1f.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r-- | subsurface-mobile-main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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; |