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 <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2017-12-07 14:40:23 +01:00 committed by Lubomir I. Ivanov
parent 127abec62c
commit 1c223b09c3
2 changed files with 2 additions and 2 deletions

View file

@ -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()