Commit 8ecb55fb authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Christoph Cullmann
Browse files

katepluginmanager: Remove unneeded check for service types


We already have a dedicated install namespace for ktexteditor plugins,
consequently the additional check is not needed.
parent dd4e1907
......@@ -71,9 +71,7 @@ void KatePluginManager::setupPluginList()
QSet<QString> unique;
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("ktexteditor"), [](const KPluginMetaData &md) {
return md.serviceTypes().contains(QLatin1String("KTextEditor/Plugin"));
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("ktexteditor"));
for (const auto &pluginMetaData : plugins) {
KatePluginInfo info;
info.metaData = pluginMetaData;
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