mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
QML UI: don't mangle 'USB device' as device name
We do strip the user friendly name from BT addresses and this mistakenly mangled 'USB device' to 'device'. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1a7ada5a90
commit
40ecb179a3
1 changed files with 2 additions and 1 deletions
|
@ -189,6 +189,7 @@ Kirigami.Page {
|
|||
text = qsTr("Retry")
|
||||
// strip any BT Name from the address
|
||||
var devName = manager.DC_devName
|
||||
if (devName != qsTr("USB device"))
|
||||
manager.DC_devName = devName.replace(/^(.*) /, "")
|
||||
manager.appendTextToLog("DCDownloadThread started for " + manager.DC_vendor + " " + manager.DC_product + " on "+ manager.DC_devName)
|
||||
progressBar.visible = true
|
||||
|
|
Loading…
Add table
Reference in a new issue