Commit 655ba178 authored by Jan's avatar Jan

Revert one change as it is only available after Qt5.14

parent 61e4c4f9
......@@ -317,7 +317,8 @@ void Core::loadPlugins()
*/
{
QStringList list = QString::fromUtf8(cmake::static_plugins).split("\n");
QSet<QString> staticPlugins = QSet<QString>(list.begin(),list.end());
// This warning couöld be fixed when the minimal Qt Version is >= 5.14
QSet<QString> staticPlugins = QSet<QString>::fromList(list);
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