Add debug output (for testing, and commented out) in downloadJson().

This commit is contained in:
Gerhard Hoffmann 2023-11-21 10:08:31 +01:00
parent 0db39746db
commit b45f3a04b4

View File

@ -335,11 +335,13 @@ bool Update::downloadJson(enum FileTypeJson type,
QString jsFileToSendToDC) const { QString jsFileToSendToDC) const {
Utils::printInfoMsg( // Utils::printInfoMsg(
QString("UPDATING JSON-FILE=%1, TEMPLATE-INDEX=%2, JSON-TYPE=%3") // QString("UPDATING JSON-FILE=%1, TEMPLATE-INDEX=%2, JSON-TYPE=%3")
.arg(jsFileToSendToDC) // .arg(jsFileToSendToDC)
.arg(templateIdx) // .arg(templateIdx)
.arg(jsonType(type))); // .arg(jsonType(type)));
//
// return true;
m_hw->dc_autoRequest(true); // downloading Json needs the AutoEmission flag m_hw->dc_autoRequest(true); // downloading Json needs the AutoEmission flag
qDebug() << "SET AUTO-REQUEST=TRUE"; qDebug() << "SET AUTO-REQUEST=TRUE";