Commit bd9ef325 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix duplicate actions

Fix regression in port to KPluginLoader
parent 5f0b5850
Pipeline #56459 canceled with stage
......@@ -328,13 +328,12 @@ KontactInterface::Plugin *MainWindow::pluginFromName(const QString &identifier)
void MainWindow::loadPlugins()
{
QList<KontactInterface::Plugin *> plugins;
for (const KPluginInfo &pluginInfo : qAsConst(mPluginInfos)) {
if (!pluginInfo.isPluginEnabled()) {
continue;
}
const QString pluginPath = pluginInfo.libraryPath();
const QString pluginPath = pluginInfo.pluginName();
KontactInterface::Plugin *plugin = pluginFromName(pluginPath);
if (plugin) { // already loaded
plugin->configUpdated();
......
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