aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-14 09:08:51 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-14 09:08:51 -0800
commit24404a401d5a21134b153000fffc74bd429a0631 (patch)
tree3e8eeab9f81ed619a062c3b46b46447f1d70de0e
parentdf6c73d50309af09e2359723257a4580f2f9681d (diff)
downloadsubsurface-24404a401d5a21134b153000fffc74bd429a0631.tar.gz
QML UI: userid is stored in General settings
Not inside the CloudStorage group. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qmlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 24a5fd8aa..8dcc24395 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -37,10 +37,10 @@ QMLManager::~QMLManager()
void QMLManager::savePreferences()
{
QSettings s;
+ s.setValue("subsurface_webservice_uid", ssrfGpsWebUserid());
s.beginGroup("CloudStorage");
s.setValue("email", cloudUserName());
s.setValue("save_password_local", saveCloudPassword());
- s.setValue("subsurface_webservice_uid", ssrfGpsWebUserid());
if (saveCloudPassword())
s.setValue("password", cloudPassword());
s.sync();