aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-03 14:54:30 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-03 14:54:30 -0800
commit2413f23cd54f7b2fb6b7b0a7fa6e873ddc0d5717 (patch)
tree4bd06a5d4a683b36957b30760644764fd62c2268 /qt-mobile/qmlmanager.cpp
parenta0b83dc2f16fa3042966aeedc85e7eacfc4a200c (diff)
downloadsubsurface-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.cpp2
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()