Commit d97d1129 authored by Volker Krause's avatar Volker Krause
Browse files

Return null value if UIC 918.3 parsing failed

Makes it easier for the JS side to check for this.
parent a9a88981
......@@ -104,6 +104,9 @@ QVariant JsApi::Barcode::decodeUic9183(const QVariant &s) const
Uic9183Parser p;
if (!p.isValid()) {
return {};
return QVariant::fromValue(p);
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