new mobile login: set save_password_local to true

Save_password_local is default set to false, meaning new users
have to find out how to allow it.

set save_password_local to true for mobile, which is normal behaivour
on mobile apps.

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-09-26 12:07:01 +02:00 committed by Dirk Hohndel
parent d48a748a25
commit d92b51352e

View file

@ -14,6 +14,7 @@
#include "core/settings/qPref.h" #include "core/settings/qPref.h"
#include "core/settings/qPrefDisplay.h" #include "core/settings/qPrefDisplay.h"
#include "core/tag.h" #include "core/tag.h"
#include "core/settings/qPrefCloudStorage.h"
#include <QApplication> #include <QApplication>
#include <QLocale> #include <QLocale>
@ -64,6 +65,7 @@ int main(int argc, char **argv)
// some hard coded settings // some hard coded settings
qPrefDisplay::set_animation_speed(0); // we render the profile to pixmap, no animations qPrefDisplay::set_animation_speed(0); // we render the profile to pixmap, no animations
qPrefCloudStorage::set_save_password_local(true);
// always show the divecomputer reported ceiling in red // always show the divecomputer reported ceiling in red
prefs.redceiling = 1; prefs.redceiling = 1;