summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-10 22:17:23 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-10 22:17:23 -0800
commit8224b87b7af2d669c02a376f47f6ac1aa76eef4b (patch)
tree725cdfd57ee5ca3c81b4d770ed106dbfad36470f
parentfcb308fdf2be0675f43ceecfd084054a3ae7b826 (diff)
downloadsubsurface-8224b87b7af2d669c02a376f47f6ac1aa76eef4b.tar.gz
QML UI: don't claim to be accessing the cloud when you are not
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qmlmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 0594a8d0d..ec18f8cb0 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -700,8 +700,8 @@ void QMLManager::saveChanges()
appendTextToLog(get_error_string());
return;
}
-
- setAccessingCloud(true);
+ if (prefs.git_local_only == false)
+ setAccessingCloud(true);
if (save_dives(fileName.toUtf8().data())) {
appendTextToLog(get_error_string());
setAccessingCloud(false);