Diffusion Ark 1c86d08166ae

pluginmanager: always return valid mimetypes

Authored by elvisangelaccio on Nov 29 2016, 9:29 PM.

Description

pluginmanager: always return valid mimetypes

This fixes a small regression introduced by 1b817f61f1.
Previously PluginManager would always return a list of *valid*
mimetypes, because sortByComment() was filtering out invalid ones.

After commit 1b817f61f1 sortByComment() is no longer unconditionally called,
so the check for valid mimetypes needs to be moved.

This was causing createdialogtest and adddialogtest to fail on the CI.

Details

Committed
elvisangelaccioNov 29 2016, 9:29 PM
Parents
R36:cb088d39fe2b: GIT_SILENT Upgrade KDE Applications version to 16.11.90.
Branches
Unknown
Tags
Unknown