mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
f78fdf3d0f
commit
0e4c996f51
3 changed files with 14 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue