mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
4670373731
commit
8185d24e61
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue