requestPrintTicket: improve debug output: print template list

This commit is contained in:
Siegfried Siegert 2025-03-12 14:07:23 +01:00
parent 03b192fb60
commit a03dfe87a5
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -735,8 +735,17 @@ void ATBDeviceControllerPlugin::requestPrintTicket(nsDeviceControllerInterface::
qCritical() << "------------------------------------------------------------------------";
qCritical() << "ATBDeviceControllerPlugin::requestPrintTicket()";
qCritical() << " TICKET_VARIANT: " << ticketVariant;
if (ticketVariant == nsDeviceControllerInterface::TICKET_VARIANT::FOOD_STAMP) {
qCritical() << " dyn1_list: " << printingData["dyn1_list"].toStringList();
qCritical() << " dyn2_list: " << printingData["dyn2_list"].toStringList();
}
QStringList listElements;
for (const auto &item : templateList) {
listElements << QString::number(item);
}
qCritical() << " template list: " << listElements.join(',');
qCritical() << "------------------------------------------------------------------------";