QML UI: force local saving of password

commit d99c931219 ("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>
This commit is contained in:
Dirk Hohndel 2016-03-27 19:18:48 -05:00
parent 4670373731
commit 8185d24e61

View file

@ -61,9 +61,12 @@ int main(int argc, char **argv)
taglist_init_global(); taglist_init_global();
init_ui(); init_ui();
loadPreferences(); loadPreferences();
// some hard coded settings
prefs.save_password_local = true; // the mobile UI makes no sense without that
prefs.animation_speed = 0; prefs.animation_speed = 0;
/* always show the divecomputer reported ceiling in red */ // always show the divecomputer reported ceiling in red
prefs.dcceiling = 1; prefs.dcceiling = 1;
prefs.redceiling = 1; prefs.redceiling = 1;