Commit 8e97287a authored by Volker Krause's avatar Volker Krause
Browse files

Filter out pkpass types we can't display yet

parent 0efe8246
......@@ -468,6 +468,10 @@ bool ApplicationController::importGenericPkPass(const KItinerary::ExtractorDocum
if (node.mimeType() == QLatin1String("application/")) {
const auto pass = node.content<KPkPass::Pass*>();
if (pass->type() == KPkPass::Pass::Coupon || pass->type() == KPkPass::Pass::StoreCard) {
// no support for displaying those yet
return false;
GenericPkPass wrapper;
Supports Markdown
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