Commit 27cbc3c4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some qt6 compile error

parent 2a733232
Pipeline #140081 passed with stages
in 1 minute and 3 seconds
......@@ -8,6 +8,7 @@
#include "akonadi_serializer_mail_debug.h"
#include <QDataStream>
#include <QIODevice>
#include <qplugin.h>
#include <KMime/Message>
......
......@@ -7,6 +7,7 @@
#include "addressattribute.h"
#include <QDataStream>
#include <QIODevice>
#include <Akonadi/AttributeFactory>
......
......@@ -15,8 +15,7 @@
#include <Akonadi/SpecialCollectionAttribute>
#include <KLocalizedString>
#include <kcoreaddons_version.h>
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
......@@ -67,7 +66,7 @@ SpecialMailCollectionsPrivate::~SpecialMailCollectionsPrivate()
static KCoreConfigSkeleton *getConfig(const QString &filename)
{
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("specialmailcollection"));
migrate.setConfigFiles(QStringList() << filename);
migrate.migrate();
......
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