summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-16 21:50:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-16 21:53:44 -0700
commit40223c8a5fb921efdc237528c0aa9fff54899b35 (patch)
tree69a695e2382534f982fa3904e425b387e7edbfcc /subsurface-mobile-helper.cpp
parenta4f045abaa625db4780f915ab57ed3edc89bf000 (diff)
downloadsubsurface-40223c8a5fb921efdc237528c0aa9fff54899b35.tar.gz
QML UI: show the connection choices in Download UI
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r--subsurface-mobile-helper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp
index 00c0e2c08..e84fd82d1 100644
--- a/subsurface-mobile-helper.cpp
+++ b/subsurface-mobile-helper.cpp
@@ -75,6 +75,7 @@ void run_ui()
ctxt->setContextProperty("diveModel", sortModel);
ctxt->setContextProperty("gpsModel", gpsSortModel);
ctxt->setContextProperty("vendorList", vendorList);
+ ctxt->setContextProperty("connectionListModel", &connectionListModel);
ctxt->setContextProperty("logModel", MessageHandlerModel::self());
engine.load(QUrl(QStringLiteral("qrc:///qml/main.qml")));