Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit bb6dbbd6 authored by Laurent Montel's avatar Laurent Montel 😁

Add more debug output

parent e30786f4
......@@ -104,6 +104,7 @@ QImage PkPassFile::barcode() const
const auto msg = barcodeData.value(QLatin1String("message")).toString();
// TODO: consider messageEncoding, once Prison supports that
if (formatName.isEmpty() || msg.isEmpty()) {
qCDebug(PKPASS_LOG) << "formatName empty or msg empty";
return {};
}
......@@ -121,6 +122,7 @@ QImage PkPassFile::barcode() const
}
if (!code) {
qCDebug(PKPASS_LOG) << "Unsupported formatName: " << formatName;
return {};
}
code->setData(msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment