Commit 40826ab3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It's enabled by default in qt6

parent b6517d0d
Pipeline #180235 passed with stage
in 41 seconds
......@@ -256,9 +256,10 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kdialog");
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
// enable high dpi support
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#endif
KAboutData aboutData(QStringLiteral("kdialog"), i18n("KDialog"),
QStringLiteral(KDIALOG_VERSION_STRING), i18n("KDialog can be used to show nice dialog boxes from shell scripts"),
KAboutLicense::GPL,
......
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