mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: brute force password saving
This is embarrassing. I should have done this in the first place instead of trying to hack around it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cae180036e
commit
94a549e767
2 changed files with 5 additions and 5 deletions
|
@ -60,13 +60,8 @@ int main(int argc, char **argv)
|
|||
parse_xml_init();
|
||||
taglist_init_global();
|
||||
init_ui();
|
||||
// load the preferences and make sure to load the password
|
||||
// the mobile UI makes no sense without that
|
||||
prefs.save_password_local = true;
|
||||
loadPreferences();
|
||||
|
||||
// some hard coded settings
|
||||
prefs.save_password_local = true; // in case somehow the loaded prefs reset that
|
||||
prefs.animation_speed = 0; // we render the profile to pixmap, no animations
|
||||
|
||||
// always show the divecomputer reported ceiling in red
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue