Skip to content

PartLoader::createPartInstanceForMimeType: Port inlined code from hack

Alexander Lohnau requested to merge work/partloader_remove_hack into master

By using the KPluginFactory::create method in the header the qobject_cast is already done and there is not need for the KPluginFactoryHack.

Considering that the usages of createPartInstanceForMimeTypeHelper were inlined the method can not be removed now.

Merge request reports