Commit 32d75f30 authored by Laurent Montel's avatar Laurent Montel
Browse files

Migration code will be removed in qt6 + AA_UseHighDpiPixmaps is enabled by default in qt6

parent 648e605b
Pipeline #115155 failed with stage
in 59 seconds
......@@ -35,13 +35,16 @@ using namespace gui;
int main(int argc, char **argv) {
// Fixes blurry icons with fractional scaling
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
QApplication app(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("bovo"));
migrate.setConfigFiles(QStringList() << QStringLiteral("bovorc"));
migrate.setUiFiles(QStringList() << QStringLiteral("bovoui.rc"));
migrate.migrate();
#endif
KLocalizedString::setApplicationDomain("bovo");
KAboutData aboutData(QStringLiteral("bovo"), i18n("Bovo"),
......
Supports Markdown
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