diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-13 00:54:21 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-13 00:54:21 -0700 |
commit | fb2638b3fb38ac200678d6c15b440d0bc4a99a22 (patch) | |
tree | c5edf421de4b100c8907bf2097d39d468eb34eeb /mobile-widgets/qml/DownloadFromDiveComputer.qml | |
parent | 8cd711f8e200c25377c2cc52f3516c9a633a0655 (diff) | |
download | subsurface-fb2638b3fb38ac200678d6c15b440d0bc4a99a22.tar.gz |
QML UI: small fix and whitespace cleanup
In the JS code we should use assignment with '='.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r-- | mobile-widgets/qml/DownloadFromDiveComputer.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 05a549227..c61ac7df1 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -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) |