Commit 0516d1dd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to use serviceTypes()

parent 4c08d5c6
......@@ -71,9 +71,7 @@ bool TransportPluginManagerPrivate::initializePlugins()
if (!mPluginList.isEmpty()) {
return true;
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("mailtransport"), [](const KPluginMetaData &md) {
return md.serviceTypes().contains(QLatin1String("MailTransport/Plugin"));
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("mailtransport"));
QVectorIterator<KPluginMetaData> i(plugins);
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