Revert "Revert "DolphinQt: use default dpi rounding mode (passthrough)""
This reverts commit 20e14aab06
.
This commit is contained in:
parent
da77084d2f
commit
ca49f49037
|
@ -147,15 +147,6 @@ int main(int argc, char* argv[])
|
||||||
#endif
|
#endif
|
||||||
#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::setOrganizationName(QStringLiteral("Dolphin Emulator"));
|
||||||
QCoreApplication::setOrganizationDomain(QStringLiteral("dolphin-emu.org"));
|
QCoreApplication::setOrganizationDomain(QStringLiteral("dolphin-emu.org"));
|
||||||
QCoreApplication::setApplicationName(QStringLiteral("dolphin-emu"));
|
QCoreApplication::setApplicationName(QStringLiteral("dolphin-emu"));
|
||||||
|
|
Loading…
Reference in New Issue