diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-14 09:08:51 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-14 09:08:51 -0800 |
commit | 24404a401d5a21134b153000fffc74bd429a0631 (patch) | |
tree | 3e8eeab9f81ed619a062c3b46b46447f1d70de0e | |
parent | df6c73d50309af09e2359723257a4580f2f9681d (diff) | |
download | subsurface-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.cpp | 2 |
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(); |