mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: small fix and whitespace cleanup
In the JS code we should use assignment with '='. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8cd711f8e2
commit
fb2638b3fb
1 changed files with 5 additions and 5 deletions
|
@ -92,18 +92,18 @@ Kirigami.Page {
|
|||
Button {
|
||||
text: qsTr("Download")
|
||||
onClicked: {
|
||||
text: qsTr("Retry")
|
||||
text = qsTr("Retry")
|
||||
if (downloadThread.deviceData.bluetoothMode) {
|
||||
var addr = downloadThread.data().getDetectedDeviceAddress(comboVendor.currentText,
|
||||
comboProduct.currentText)
|
||||
comboProduct.currentText)
|
||||
if (addr !== "")
|
||||
downloadThread.deviceData.devName = addr
|
||||
downloadThread.deviceData.devName = addr
|
||||
var vendor = downloadThread.deviceData.getDeviceDescriptorVendor(comboVendor.currentText,
|
||||
comboProduct.currentText)
|
||||
comboProduct.currentText)
|
||||
downloadThread.deviceData.vendor = vendor;
|
||||
|
||||
var product = downloadThread.deviceData.getDeviceDescriptorProduct(comboVendor.currentText,
|
||||
comboProduct.currentText)
|
||||
comboProduct.currentText)
|
||||
downloadThread.deviceData.product = product;
|
||||
}
|
||||
manager.appendTextToLog("DCDownloadThread started for " + downloadThread.deviceData.devName)
|
||||
|
|
Loading…
Add table
Reference in a new issue