Commit 2b842c89 authored by Jan's avatar Jan

Removed obsolete List creation

parent e8cc5e2f
......@@ -316,8 +316,8 @@ void Core::loadPlugins()
* Remove static plugins from dynamically loaded list.
*/
{
QSet<QString> staticPlugins = QSet<QString>::fromList(
QString::fromUtf8(cmake::static_plugins).split("\n"));
QStringList list = QString::fromUtf8(cmake::static_plugins).split("\n");
QSet<QString> staticPlugins = QSet<QString>(list.begin(),list.end());
for (int i = 0; i < pluginlist.size(); ) {
const QString bn = QFileInfo(pluginlist[i]).fileName();
if (staticPlugins.contains(bn)) {
......
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