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

Fix duplicate actions

Fix regression in port to KPluginLoader

(cherry picked from commit bd9ef325)
parent a42b7214
Pipeline #57355 skipped
......@@ -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