mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
pluginmanager: remove append of pluginLoader on m_plugins.
Seen that it is not used we can remove from the Plugin() object and delete the instance at the end.
This commit is contained in:
@@ -174,8 +174,10 @@ void PluginManager::loadPluginsDir(const QDir& dir)
|
||||
continue;
|
||||
}
|
||||
|
||||
delete(pluginLoader);
|
||||
|
||||
qInfo("PluginManager::loadPluginsDir: loaded plugin %s", qPrintable(fileName));
|
||||
m_plugins.append(Plugin(fileName, pluginLoader, instance));
|
||||
m_plugins.append(Plugin(fileName, instance));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user