X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/5d3774aa17c8e04df928e37fc4d1e197c3e3ae68..460bcd533acb6d5b07c2ccea3a9bf3554a13bbc8:/src/main.cpp 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()));