Commit 3dffc672 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix logic

parent cb46206c
Pipeline #75593 passed with stage
in 7 minutes and 24 seconds
......@@ -56,7 +56,7 @@ bool TransportPluginManagerPrivate::initializePlugins()
if (!mPluginList.isEmpty()) {
return true;
}
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(5, 85, 0)
#if KCOREADDONS_VERSION <= QT_VERSION_CHECK(5, 85, 0)
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("mailtransport"));
#else
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("mailtransport"));
......
Supports Markdown
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