Commit 213c0400 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 b12ea0f6
Pipeline #115165 passed with stage
in 1 minute and 7 seconds
......@@ -26,7 +26,9 @@
int main(int argc, char** argv)
{
// Fixes blurry icons with fractional scaling
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("knavalbattle");
......
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