summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Main.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2022-05-09 17:01:14 -0700
committerDentomologist <dentomologist@gmail.com>2022-05-25 17:51:17 -0700
commit059cd5f6e111a52d3ba798bd7ebbb9c74e01fa01 (patch)
treeed23552f92d8ac035b070bcbfea31533eaaeb46a /Source/Core/DolphinQt/Main.cpp
parent7fcc866c4118487c010116a2ea164abc867e65f4 (diff)
Windows: Remove unused Qt 5 code and references
Diffstat (limited to 'Source/Core/DolphinQt/Main.cpp')
-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 2f2b89e5e4..bd17fe5890 100644
--- a/Source/Core/DolphinQt/Main.cpp
+++ b/Source/Core/DolphinQt/Main.cpp
@@ -156,15 +156,6 @@ int main(int argc, char* argv[])
QApplication app(argc, argv);
#endif
-#if defined(_WIN32) && (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
- // On Windows, Qt 5's default system font (MS Shell Dlg 2) is outdated.
- // Interestingly, the QMenu font is correct and comes from lfMenuFont
- // (Segoe UI on English computers).
- // So use it for the entire application.
- // This code will become unnecessary and obsolete once we switch to Qt 6.
- QApplication::setFont(QApplication::font("QMenu"));
-#endif
-
#ifdef _WIN32
FreeConsole();
#endif