From 6ee1e01eb0a3aefa1deabf86dd7dd71209eca8c6 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 31 May 2022 21:13:09 +0200 Subject: [PATCH] It's enabled by default in qt6 --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8c48bb8572..ff79778884 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()));