mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Qt: Use better method of getting default monospace font
This should give us a nicer font on Windows, while also not severely impacting the existing behavior on Linux.
This commit is contained in:
parent
4f1f849c9d
commit
0759ead9b6
2 changed files with 3 additions and 4 deletions
|
@ -119,8 +119,7 @@ void LogWidget::UpdateFont()
|
|||
case 0: // Default font
|
||||
break;
|
||||
case 1: // Monospace font
|
||||
f = QFont(QStringLiteral("Monospace"));
|
||||
f.setStyleHint(QFont::TypeWriter);
|
||||
f = QFont(QFontDatabase::systemFont(QFontDatabase::FixedFont).family());
|
||||
break;
|
||||
case 2: // Debugger font
|
||||
f = Settings::Instance().GetDebugFont();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue