mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Windows: Remove unused Qt 5 code and references
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user