From 1c223b09c310d65ca554cae455cdc74fc33da60f Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Thu, 7 Dec 2017 14:40:23 +0100 Subject: Show BT device names first Show them left of address (so they are in the user's view) rather than on the right. Signed-off-by: Robert C. Helling --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 199f6aa67..eafc22150 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -199,7 +199,7 @@ Kirigami.Page { text = qsTr("Retry") // strip any BT Name from the address var devName = downloadThread.deviceData.devName - downloadThread.deviceData.devName = devName.replace(/ (.*)$/, "") + downloadThread.deviceData.devName = devName.replace(/^(.*) /, "") manager.appendTextToLog("DCDownloadThread started for " + downloadThread.deviceData.product + " on "+ downloadThread.deviceData.devName) progressBar.visible = true downloadThread.start() -- cgit v1.2.3-70-g09d2