From: Laurent Montel Date: Tue, 31 May 2022 19:13:09 +0000 (+0200) Subject: It's enabled by default in qt6 X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/6ee1e01eb0a3aefa1deabf86dd7dd71209eca8c6 It's enabled by default in qt6 --- diff --git a/src/main.cpp b/src/main.cpp index 8c48bb857..ff7977888 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -65,9 +65,10 @@ int main(int argc, char **argv) /** * enable high dpi support */ +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true); - +#endif QApplication app(argc, argv); app.setWindowIcon(QIcon::fromTheme(QStringLiteral("system-file-manager"), app.windowIcon()));