summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-05-12 18:29:45 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-27 11:07:19 -0700
commit0e4c996f5189b3c364db73075ae009028a28c390 (patch)
tree8145cf8f78472b720c5d0d3aef61fdc60028ce1d /mobile-widgets/qmlmanager.cpp
parentf78fdf3d0fea3a426f07f24d0ce2d98a1cae0bf0 (diff)
downloadsubsurface-0e4c996f5189b3c364db73075ae009028a28c390.tar.gz
QML UI: Fill the product list
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index b683bafae..4d2999049 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -24,6 +24,7 @@
#include "core/subsurface-qt/SettingsObjectWrapper.h"
#include "core/membuffer.h"
#include "qt-models/tankinfomodel.h"
+#include "core/downloadfromdcthread.h"
QMLManager *QMLManager::m_instance = NULL;
@@ -1513,3 +1514,8 @@ void QMLManager::setShowPin(bool enable)
m_showPin = enable;
emit showPinChanged();
}
+
+QStringList QMLManager::getDCListFromVendor(const QString& vendor)
+{
+ return productList[vendor];
+}