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

code will be removed in qt6

parent b3ac4a37
Pipeline #128403 passed with stage
in 1 minute and 6 seconds
......@@ -9,7 +9,7 @@
#include "akonadiconsole-version.h"
#include "instanceselector.h"
#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
......@@ -26,10 +26,10 @@ int main(int argc, char **argv)
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
#endif
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#endif
QApplication app(argc, argv);
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("akonadiconsole"));
migrate.setConfigFiles(QStringList() << QStringLiteral("akonadiconsolerc"));
migrate.setUiFiles(QStringList() << QStringLiteral("akonadiconsoleui.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