diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-03 14:54:30 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-03 14:54:30 -0800 |
commit | 2413f23cd54f7b2fb6b7b0a7fa6e873ddc0d5717 (patch) | |
tree | 4bd06a5d4a683b36957b30760644764fd62c2268 /qt-mobile/qmlmanager.cpp | |
parent | a0b83dc2f16fa3042966aeedc85e7eacfc4a200c (diff) | |
download | subsurface-2413f23cd54f7b2fb6b7b0a7fa6e873ddc0d5717.tar.gz |
QML-UI: open cloud storage once credentials were entered
This makes for a much more friendly first use experience:
Open Subsurface-mobile, enter your cloud credentials, tap on Save and you see
your dive list.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 64e8a6714..2ebd11159 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -88,6 +88,8 @@ void QMLManager::saveCloudCredentials() } } } + if (cloudCredentialsChanged) + loadDives(); } void QMLManager::loadDives() |