From fb2638b3fb38ac200678d6c15b440d0bc4a99a22 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 13 Jun 2017 00:54:21 -0700 Subject: QML UI: small fix and whitespace cleanup In the JS code we should use assignment with '='. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mobile-widgets') 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) -- cgit v1.2.3-70-g09d2