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()));