Commit 25fba8cd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QListIterator in qt6

parent bf208839
Pipeline #140968 failed with stage
in 2 minutes and 48 seconds
......@@ -39,7 +39,11 @@ void ShortUrlEnginePluginManagerPrivate::initializePlugins()
{
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("pimcommon/shorturlengine"));
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QVectorIterator<KPluginMetaData> i(plugins);
#else
QListIterator<KPluginMetaData> i(plugins);
#endif
i.toBack();
while (i.hasPrevious()) {
ShortUrlEnginePluginInfo 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