summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r--subsurface-mobile-main.cpp5
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;