mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
d48a748a25
commit
d92b51352e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue