diff options
-rw-r--r-- | core/downloadfromdcthread.cpp | 1 | ||||
-rw-r--r-- | subsurface-mobile-helper.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index c74d5d535..799610f80 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -142,6 +142,7 @@ void fill_computer_list() productList[vendor].push_back(product); descriptorLookup[QString(vendor) + QString(product)] = descriptor; + qDebug() << "added supported DC: " << vendor << " " << product; } dc_iterator_free(iterator); Q_FOREACH (QString vendor, vendorList) diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp index 98d412aca..2d72d538e 100644 --- a/subsurface-mobile-helper.cpp +++ b/subsurface-mobile-helper.cpp @@ -94,6 +94,10 @@ void run_ui() ctxt->setContextProperty("connectionListModel", &connectionListModel); 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"))); qqWindowObject = engine.rootObjects().value(0); if (!qqWindowObject) { |