From afd46a60f7b9a7aba0ae515f4ae38c8223761f2d Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 5 Dec 2017 20:58:54 +0100 Subject: 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 --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mobile-widgets/qml') 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") : -- cgit v1.2.3-70-g09d2