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

It's removed in qt6

parent a087de28
Pipeline #148508 passed with stage
in 1 minute and 29 seconds
......@@ -32,7 +32,9 @@
#include <QCommandLineParser>
#include <KAboutData>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <KMessageBox>
#include <KWindowSystem>
......@@ -98,11 +100,11 @@ int main(int argc, char **argv)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
// enable high dpi support
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("keditbookmarks"));
migrate.setConfigFiles(QStringList() << QStringLiteral("keditbookmarksrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("keditbookmarksuirc"));
migrate.migrate();
#endif
KLocalizedString::setApplicationDomain("keditbookmarks");
......
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