Commit f493377b authored by Nikita Melnichenko's avatar Nikita Melnichenko
Browse files

replaced deprecated QSet<T>::fromList

parent 3013d1c6
......@@ -124,7 +124,9 @@ KrArcHandler::KrArcHandler(QObject *parent) : QObject(parent)
QStringLiteral("application/vnd.rar") };
#ifdef KRARC_QUERY_ENABLED
krarcArchiveMimetypes += QSet<QString>::fromList(KProtocolInfo::archiveMimetypes("krarc"));
auto mimetypes = KProtocolInfo::archiveMimetypes("krarc");
for (const auto &mimetype : mimetypes)
krarcArchiveMimetypes.insert(mimetype);
#endif
}
......
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