summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-26 12:07:01 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-24 08:25:51 +0900
commitd92b51352eaa0bee1f8f867b6bf94814d848e8c3 (patch)
treeff614bb8ca87e2f9365bd5a5115a74460fc5146f
parentd48a748a25a230d456c0ba0d95b1e541e89a0289 (diff)
downloadsubsurface-d92b51352eaa0bee1f8f867b6bf94814d848e8c3.tar.gz
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>
-rw-r--r--subsurface-mobile-main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp
index ef6913d8f..7b7269f85 100644
--- a/subsurface-mobile-main.cpp
+++ b/subsurface-mobile-main.cpp
@@ -14,6 +14,7 @@
#include "core/settings/qPref.h"
#include "core/settings/qPrefDisplay.h"
#include "core/tag.h"
+#include "core/settings/qPrefCloudStorage.h"
#include <QApplication>
#include <QLocale>
@@ -64,6 +65,7 @@ int main(int argc, char **argv)
// some hard coded settings
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
prefs.redceiling = 1;