Skip to content

Commit

Permalink
Merge pull request #11861 from shuffle2/qt
Browse files Browse the repository at this point in the history
Revert "Revert "DolphinQt: use default dpi rounding mode (passthrough)""
  • Loading branch information
JosJuice committed May 30, 2023
2 parents d847c36 + ca49f49 commit 6743ca8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Source/Core/DolphinQt/Main.cpp
Expand Up @@ -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"));
Expand Down

0 comments on commit 6743ca8

Please sign in to comment.