summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-03 18:00:00 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-04 14:18:32 -0700
commit616842c8c00654718ba3390b055eb946aaa4cff4 (patch)
treefa2a7069cbf44b864b6278b2bd7efaeccb8d6d77 /qt-mobile/qml
parent4af9ee5deaa087bdbbb3ca9a79ff199cc6b89529 (diff)
downloadsubsurface-616842c8c00654718ba3390b055eb946aaa4cff4.tar.gz
QML UI: be more careful when to show us accessing the cloud
There may be other paths where we potentially show the wrong status to the user... but at least with this it times out eventually; there shouldn't be any single operation that isn't broken down with progress markers that takes more than 10 seconds, so keeping the notification around for 30 seconds seems very conservative. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/main.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 3ed5aeac9..6b6116611 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -22,7 +22,9 @@ Kirigami.ApplicationWindow {
property bool showingDiveList: false
onAccessingCloudChanged: {
if (accessingCloud >= 0) {
- showPassiveNotification("Accessing Subsurface Cloud Storage " + accessingCloud +"%", 500000);
+ // we now keep updating this to show progress, so timing out after 30 seconds is more useful
+ // but should still be very conservative
+ showPassiveNotification("Accessing Subsurface Cloud Storage " + accessingCloud +"%", 30000);
} else {
hidePassiveNotification();
}