1
0
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:
Davide Gerhard
2019-05-22 08:31:07 +02:00
parent ab2d9270ac
commit c24a37d011
2 changed files with 4 additions and 4 deletions
+3 -1
View File
@@ -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));
}
}
}