QML UI: Fill the product list

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2017-05-12 18:29:45 +02:00 committed by Dirk Hohndel
parent f78fdf3d0f
commit 0e4c996f51
3 changed files with 14 additions and 1 deletions

View file

@ -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];
}