mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Merge pull request #10544 from AdmiralCurtiss/default-font-size-workaround
Qt: Set font size for default debug font.
This commit is contained in:
commit
6a326a9f73
@ -606,6 +606,7 @@ void Settings::SetDebugFont(QFont font)
|
|||||||
QFont Settings::GetDebugFont() const
|
QFont Settings::GetDebugFont() const
|
||||||
{
|
{
|
||||||
QFont default_font = QFont(QFontDatabase::systemFont(QFontDatabase::FixedFont).family());
|
QFont default_font = QFont(QFontDatabase::systemFont(QFontDatabase::FixedFont).family());
|
||||||
|
default_font.setPointSizeF(9.0);
|
||||||
|
|
||||||
return GetQSettings().value(QStringLiteral("debugger/font"), default_font).value<QFont>();
|
return GetQSettings().value(QStringLiteral("debugger/font"), default_font).value<QFont>();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user