From ca49f490373792d98ce20b79029eeae36bc37792 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Mon, 29 May 2023 11:47:29 -0700 Subject: [PATCH] Revert "Revert "DolphinQt: use default dpi rounding mode (passthrough)"" This reverts commit 20e14aab06b127870f8ca5bd170fda4c560bef82. --- Source/Core/DolphinQt/Main.cpp | 9 --------- 1 file changed, 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"));