summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-08 06:02:49 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-11 11:14:22 -0700
commitde8359e4f0f0560ff43b15af587d4c2865238adf (patch)
tree88983ec22186e273e8cceb267927528b2c8dff53
parent1bbbc07dd5a969554c6d4041593d7b7e3ad25e5f (diff)
downloadsubsurface-de8359e4f0f0560ff43b15af587d4c2865238adf.tar.gz
QML UI: expose vendor/product/connection index as properties
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index 5cd407d95..6f7ac709e 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -20,6 +20,9 @@ Kirigami.Page {
property bool divesDownloaded: false
property bool btEnabled: manager.btEnabled
property string btMessage: manager.btEnabled ? "" : qsTr("Bluetooth is not enabled")
+ property alias vendor: comboVendor.currentIndex
+ property alias product: comboProduct.currentIndex
+ property alias connection: comboConnection.currentIndex
DCDownloadThread {
id: downloadThread