summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-26 12:27:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-26 12:27:12 -0700
commit0c410aaf5d0119854877ca6c93d0fff6609d2045 (patch)
treef91b1f7468db41883abda4b1edf6bd4e138d94fc /mobile-widgets/qml
parentea8de175a74fd62117f0a543fb722b2c4d179901 (diff)
downloadsubsurface-0c410aaf5d0119854877ca6c93d0fff6609d2045.tar.gz
Adjust signature to match data we need
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index a1567494f..9ff0494c0 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -61,7 +61,7 @@ Kirigami.Page {
GridLayout {
columns: 2
Kirigami.Label { text: qsTr(" Vendor name: ") }
- property var vendoridx: downloadThread.data().getDetectedVendorIndex("")
+ property var vendoridx: downloadThread.data().getDetectedVendorIndex()
ComboBox {
id: comboVendor
Layout.fillWidth: true
@@ -87,14 +87,14 @@ Kirigami.Page {
}
onCurrentTextChanged: {
comboProduct.model = downloadThread.data().getProductListFromVendor(currentText)
- if (currentIndex == downloadThread.data().getDetectedVendorIndex(currentText))
- comboProduct.currentIndex = downloadThread.data().getDetectedProductIndex(currentText, comboProduct.currentText)
+ if (currentIndex == downloadThread.data().getDetectedVendorIndex())
+ comboProduct.currentIndex = downloadThread.data().getDetectedProductIndex(currentText)
}
}
Kirigami.Label { text: qsTr(" Dive Computer:") }
ComboBox {
id: comboProduct
- property var productidx: downloadThread.data().getDetectedProductIndex(comboVendor.currentText, currentText)
+ property var productidx: downloadThread.data().getDetectedProductIndex(comboVendor.currentText)
Layout.fillWidth: true
model: null
currentIndex: productidx