summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-13 08:56:29 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-13 08:56:29 -0700
commit3efa20820a4f939b0c9188b627b73d0c9a6c474f (patch)
treefd0acb00dd6e0b98247ddbe89b181a1ab5c9b83b
parentfcf1898b0c2e74671a3d65f16b3fa52eb22b965d (diff)
downloadsubsurface-3efa20820a4f939b0c9188b627b73d0c9a6c474f.tar.gz
QML UI: show cloud access notification when refreshing from menu
If the user requests a refresh we always try to access the cloud and need to show the notification accordingly. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qmlmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index ed53f7f07..5ffc0678f 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -214,6 +214,7 @@ void QMLManager::tryRetrieveDataFromBackend()
void QMLManager::loadDives()
{
+ setAccessingCloud(true);
checkCredentialsAndExecute(&QMLManager::loadDivesWithValidCredentials);
}