Commit 834854cd authored by David Faure's avatar David Faure
Browse files

Repair ark startup: make it find its own part again

parent 3b9f0ac0
......@@ -127,7 +127,7 @@ bool MainWindow::loadPart()
{
KPluginFactory *factory = nullptr;
const auto plugins = KPluginLoader::findPlugins(QString(), [](const KPluginMetaData& metaData) {
const auto plugins = KPluginLoader::findPlugins(QStringLiteral("kf5/parts"), [](const KPluginMetaData& metaData) {
return metaData.pluginId() == QLatin1String("arkpart") &&
metaData.serviceTypes().contains(QLatin1String("KParts/ReadOnlyPart")) &&
metaData.serviceTypes().contains(QLatin1String("Browser/View"));
......
Markdown is supported
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