aboutsummaryrefslogtreecommitdiff
path: root/launcher/main.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-05-18 15:47:17 +0200
committerGitHub <noreply@github.com>2022-05-18 15:47:17 +0200
commitb883ce5c517e0d22d994ec894aa868d7e2392b06 (patch)
tree2408832b17b4b7e081017cfd585eeb5783b98081 /launcher/main.cpp
parentcc13310083fe8d0c3bb423fa3e31db7b1f7b25e1 (diff)
parenta21bd41580ba8ba4c0052efa8196d617e7211335 (diff)
downloadPrismLauncher-b883ce5c517e0d22d994ec894aa868d7e2392b06.tar.gz
PrismLauncher-b883ce5c517e0d22d994ec894aa868d7e2392b06.tar.bz2
PrismLauncher-b883ce5c517e0d22d994ec894aa868d7e2392b06.zip
Merge pull request #127 from Scrumplex/refactor-bump-qt5.12
Diffstat (limited to 'launcher/main.cpp')
-rw-r--r--launcher/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/launcher/main.cpp b/launcher/main.cpp
index 275fff32..85c5fdee 100644
--- a/launcher/main.cpp
+++ b/launcher/main.cpp
@@ -24,10 +24,8 @@ int main(int argc, char *argv[])
return 42;
#endif
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
-#endif
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);