diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-03 18:00:00 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-04 14:18:32 -0700 |
commit | 616842c8c00654718ba3390b055eb946aaa4cff4 (patch) | |
tree | fa2a7069cbf44b864b6278b2bd7efaeccb8d6d77 /qt-mobile/qml | |
parent | 4af9ee5deaa087bdbbb3ca9a79ff199cc6b89529 (diff) | |
download | subsurface-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.qml | 4 |
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(); } |