Skip to content
Commit 809ba746 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Filter json-only KFileItemAction plugins by mimetype

Commit d48b7334 introduced support for kfileitemaction plugins with json
metadata, but forgot to filter them by the commonMimeType (like
KMimeTypeTrader::query() does with old-style plugins).

So we need to load a plugin only when commonMimeType is equal to (or child of) one
of the mimetypes supported by the plugin.
parent 438ede27
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