Commit 0b1df377 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use directly QT_VERSION

parent c8e02257
Pipeline #122497 passed with stage
in 54 seconds
......@@ -9,8 +9,7 @@
#include <KCrash>
#include <KDBusService>
#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
#include <QApplication>
......@@ -26,7 +25,7 @@ int main(int argc, char **argv)
app.setDesktopFileName(QStringLiteral("org.kde.contactthemeeditor"));
KCrash::initialize();
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("contactthemeeditor"));
migrate.setConfigFiles(QStringList() << QStringLiteral("contactthemeeditorrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("contactthemeeditorui.rc"));
......
......@@ -11,8 +11,7 @@
#include <KCrash>
#include <KDBusService>
#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
#include <QApplication>
......@@ -27,7 +26,7 @@ int main(int argc, char **argv)
QApplication app(argc, argv);
app.setDesktopFileName(QStringLiteral("org.kde.headerthemeeditor"));
KCrash::initialize();
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("headerthemeeditor"));
migrate.setConfigFiles(QStringList() << QStringLiteral("headerthemeeditorrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("headerthemeeditorui.rc"));
......
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