From d92b51352eaa0bee1f8f867b6bf94814d848e8c3 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Wed, 26 Sep 2018 12:07:01 +0200 Subject: 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 --- subsurface-mobile-main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'subsurface-mobile-main.cpp') 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 #include @@ -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; -- cgit v1.2.3-70-g09d2