summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-03 19:00:49 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-04 14:17:57 -0700
commit904539024e97b5980050c4ad65a6d2a901f3cb3a (patch)
treecc50da23f0fb4a109174d153689207e280ff69d2 /qt-mobile/qml/main.qml
parenteea1ff6a83a318d7749110baa81c249a6faea8ef (diff)
downloadsubsurface-904539024e97b5980050c4ad65a6d2a901f3cb3a.tar.gz
Make accessingCloud an integer so it can convey more information
This will be used to simulate a progress bar eventually. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r--qt-mobile/qml/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index c011ba4c1..3ed5aeac9 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -21,8 +21,8 @@ Kirigami.ApplicationWindow {
property QtObject notification: null
property bool showingDiveList: false
onAccessingCloudChanged: {
- if (accessingCloud) {
- showPassiveNotification("Accessing Subsurface Cloud Storage", 500000);
+ if (accessingCloud >= 0) {
+ showPassiveNotification("Accessing Subsurface Cloud Storage " + accessingCloud +"%", 500000);
} else {
hidePassiveNotification();
}