summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2023-05-29 11:47:29 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2023-05-29 11:47:29 -0700
commitca49f490373792d98ce20b79029eeae36bc37792 (patch)
treefcdce2b3f3ea6cb04affd50aea61aee7afe33bbc /Source
parentda77084d2f20510e78dd8178cdeab764c3dc1834 (diff)
Revert "Revert "DolphinQt: use default dpi rounding mode (passthrough)""
This reverts commit 20e14aab06b127870f8ca5bd170fda4c560bef82.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt/Main.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/Core/DolphinQt/Main.cpp b/Source/Core/DolphinQt/Main.cpp
index a65f9d34fd..8fa1afff19 100644
--- a/Source/Core/DolphinQt/Main.cpp
+++ b/Source/Core/DolphinQt/Main.cpp
@@ -147,15 +147,6 @@ int main(int argc, char* argv[])
#endif
#endif
- // setHighDpiScaleFactorRoundingPolicy was added in 5.14, but default behavior changed in 6.0
-#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
- // Set to the previous default behavior
- QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round);
-#else
- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
- QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
-#endif
-
QCoreApplication::setOrganizationName(QStringLiteral("Dolphin Emulator"));
QCoreApplication::setOrganizationDomain(QStringLiteral("dolphin-emu.org"));
QCoreApplication::setApplicationName(QStringLiteral("dolphin-emu"));