diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-10 22:17:23 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-10 22:17:23 -0800 |
commit | 8224b87b7af2d669c02a376f47f6ac1aa76eef4b (patch) | |
tree | 725cdfd57ee5ca3c81b4d770ed106dbfad36470f | |
parent | fcb308fdf2be0675f43ceecfd084054a3ae7b826 (diff) | |
download | subsurface-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.cpp | 4 |
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); |