Commit 99b56887 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Make querying for KPart supported mimetypes a bit less broken

parent 39bff653
......@@ -398,8 +398,7 @@ QStringList Shell::fileFormats() const
for ( ; it != itEnd; ++it )
{
KService::Ptr service = *it;
QStringList mimeTypes = service->serviceTypes();
mimeTypes.removeAll(basePartService);
QStringList mimeTypes = service->mimeTypes();
supportedPatterns += mimeTypes;
}
......
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