summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/main.qml1
-rw-r--r--qt-mobile/qmlmanager.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 07caa4189..314bba900 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -25,7 +25,6 @@ MobileComponents.ApplicationWindow {
notification.hideNotification();
}
}
-
sharedNotificationComponent.show
}
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 00f3829aa..94344f9f3 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -624,11 +624,13 @@ void QMLManager::saveChanges()
return;
}
+ setAccessingCloud(true);
if (save_dives(fileName.toUtf8().data())) {
appendTextToLog(get_error_string());
+ setAccessingCloud(false);
return;
}
-
+ setAccessingCloud(false);
appendTextToLog("Updated dive list saved.");
set_filename(fileName.toUtf8().data(), true);
mark_divelist_changed(false);