summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DownloadFromDiveComputer.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-03 15:21:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-04 12:00:25 -0700
commit35080aad98698b6de5f1810a421514648ec6db65 (patch)
tree7ad04646e6ee299a006fddad16469383291cecd5 /mobile-widgets/qml/DownloadFromDiveComputer.qml
parent001fb7f4faca9b5e10b7c3e4d9f28f9ba39f5af1 (diff)
downloadsubsurface-35080aad98698b6de5f1810a421514648ec6db65.tar.gz
mobile/cleanup: fix whitespace and remove verbose messages
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index 4fbeb525b..5b5220704 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -174,7 +174,7 @@ Kirigami.Page {
dc1.enabled = dc2.enabled = dc3.enabled = dc4.enabled = true
for (var i = 1; i < 5; i++) {
switch (i) {
- case 1:
+ case 1:
curVendor = PrefDiveComputer.vendor1
curProduct = PrefDiveComputer.product1
curDevice = PrefDiveComputer.device1
@@ -237,7 +237,7 @@ Kirigami.Page {
}
function disableDC(inx) {
switch (inx) {
- case 1:
+ case 1:
dc1.enabled = false
break;
case 2:
@@ -468,15 +468,12 @@ Kirigami.Page {
// it's important to save the changes because the app could get killed once
// it's in the background - and the freshly downloaded dives would get lost
manager.saveChangesLocal()
- manager.appendTextToLog("pageStack popping Download page")
pageStack.pop()
- manager.appendTextToLog("pageStack switching to dive list")
showDiveList()
download.text = qsTr("Download")
busy = false
rootItem.hideBusy()
divesDownloaded = false
- manager.appendTextToLog("switch to dive list has completed")
}
}
Controls.Label {