Commit e447b882 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Version control plugins: Remove defunct KServiceTypeTrader query for available plugins

We do not load those plugins anymore, consequently it does not make sense to find and display them in the settings
parent f386f848
......@@ -338,18 +338,6 @@ void ContextMenuSettingsPage::loadVersionControlSystems()
loadedPlugins += pluginName;
}
const KService::List pluginServices = KServiceTypeTrader::self()->query(QStringLiteral("FileViewVersionControlPlugin"));
for (const auto &plugin : pluginServices) {
const QString pluginName = plugin->name();
if (loadedPlugins.contains(pluginName)) {
continue;
}
addRow(QStringLiteral("code-class"),
pluginName,
VersionControlServicePrefix + pluginName,
enabledPlugins.contains(pluginName));
}
m_sortModel->sort(Qt::DisplayRole);
}
......
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