Commit ead21588 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QListIterator in qt6

parent 05f18af3
Pipeline #140969 failed with stage
in 1 minute and 16 seconds
......@@ -38,7 +38,11 @@ ImportMailPluginManager *ImportMailPluginManager::self()
bool ImportMailPluginManager::initializePluginList()
{
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("importwizard"));
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QVectorIterator<KPluginMetaData> i(plugins);
#else
QListIterator<KPluginMetaData> i(plugins);
#endif
i.toBack();
while (i.hasPrevious()) {
ImportMailPluginManagerInfo info;
......
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