diff options
| author | Laurent Montel <[email protected]> | 2022-05-31 21:13:09 +0200 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2022-05-31 21:13:09 +0200 |
| commit | 6ee1e01eb0a3aefa1deabf86dd7dd71209eca8c6 (patch) | |
| tree | cf3c10d1709a45e12f073a32293acd0fa4a41165 /src/main.cpp | |
| parent | 4fc25d5949ab64a187fa347593558959af554b7f (diff) | |
It's enabled by default in qt6
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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())); |
