mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:53:23 +00:00
Add debug output for vendor/product tuples
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2c9beec775
commit
3f5101e8a4
2 changed files with 5 additions and 0 deletions
|
@ -142,6 +142,7 @@ void fill_computer_list()
|
||||||
productList[vendor].push_back(product);
|
productList[vendor].push_back(product);
|
||||||
|
|
||||||
descriptorLookup[QString(vendor) + QString(product)] = descriptor;
|
descriptorLookup[QString(vendor) + QString(product)] = descriptor;
|
||||||
|
qDebug() << "added supported DC: " << vendor << " " << product;
|
||||||
}
|
}
|
||||||
dc_iterator_free(iterator);
|
dc_iterator_free(iterator);
|
||||||
Q_FOREACH (QString vendor, vendorList)
|
Q_FOREACH (QString vendor, vendorList)
|
||||||
|
|
|
@ -94,6 +94,10 @@ void run_ui()
|
||||||
ctxt->setContextProperty("connectionListModel", &connectionListModel);
|
ctxt->setContextProperty("connectionListModel", &connectionListModel);
|
||||||
ctxt->setContextProperty("logModel", MessageHandlerModel::self());
|
ctxt->setContextProperty("logModel", MessageHandlerModel::self());
|
||||||
|
|
||||||
|
// call again to be able to log
|
||||||
|
// FIXME - this is redundant - but otherwise they don't end up in the AppLog
|
||||||
|
fill_computer_list();
|
||||||
|
|
||||||
engine.load(QUrl(QStringLiteral("qrc:///qml/main.qml")));
|
engine.load(QUrl(QStringLiteral("qrc:///qml/main.qml")));
|
||||||
qqWindowObject = engine.rootObjects().value(0);
|
qqWindowObject = engine.rootObjects().value(0);
|
||||||
if (!qqWindowObject) {
|
if (!qqWindowObject) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue