aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-12-05 20:58:54 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-05 20:05:16 -0800
commitafd46a60f7b9a7aba0ae515f4ae38c8223761f2d (patch)
tree236e3384207983128dedc0594e21e5d6dd12e0e4 /mobile-widgets/qml
parent8f318c7e6959bba73b273d4b9ad065ef602ccd4d (diff)
downloadsubsurface-afd46a60f7b9a7aba0ae515f4ae38c8223761f2d.tar.gz
Add button to rescan BT devices
Otherwise the divecomputer has to be in pairing mode at app start time. Unfortunately, this leaves less space for the progress message. My time/qml knowledge does not suffice to move that to the next line (when moving that out of the RowLayout it overlaps with the buttons). Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index 1091a0350..199f6aa67 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -215,6 +215,14 @@ Kirigami.Page {
manager.appendTextToLog("exit DCDownload screen")
}
}
+ SsrfButton {
+ id:rescanbutton
+ text: qsTr("Rescan")
+ onClicked: {
+ manager.btRescan()
+ }
+ }
+
Controls.Label {
Layout.maximumWidth: parent.width - download.width - quitbutton.width
text: divesDownloaded ? qsTr(" Downloaded dives") :