aboutsummaryrefslogtreecommitdiff
path: root/launcher/main.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-13 20:04:49 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-05-17 22:25:50 +0200
commit8e9f1bcf18f5914ff448c640d492eaf24f436302 (patch)
tree4748e6d8c91f54f85cdafe7f52589fbf6bdd2bb9 /launcher/main.cpp
parent4b06fc53235ab7c16ec819dd7e9d1b89aad19db9 (diff)
downloadPrismLauncher-8e9f1bcf18f5914ff448c640d492eaf24f436302.tar.gz
PrismLauncher-8e9f1bcf18f5914ff448c640d492eaf24f436302.tar.bz2
PrismLauncher-8e9f1bcf18f5914ff448c640d492eaf24f436302.zip
fix: remove unnecessary Qt version checks
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);