summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-13 00:54:21 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-13 00:54:21 -0700
commitfb2638b3fb38ac200678d6c15b440d0bc4a99a22 (patch)
treec5edf421de4b100c8907bf2097d39d468eb34eeb /mobile-widgets
parent8cd711f8e200c25377c2cc52f3516c9a633a0655 (diff)
downloadsubsurface-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')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml10
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)