Commit 7e64166a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It's enabled by default in qt6

parent c4a1d4c6
......@@ -88,7 +88,9 @@ int main(int argc, char **argv)
// kf5.kcoreaddons.kaboutdata: Could not initialize the equivalent properties of Q*Application: no instance (yet) existing.
app.reset(new QApplication(argc, argv));
QApplication *qapp = qobject_cast<QApplication *>(app.data());
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
qapp->setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#endif
qapp->setWindowIcon(QIcon::fromTheme(QStringLiteral("kbackup")));
KAboutData::setApplicationData(about);
......
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