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 default_font = QFont(QFontDatabase::systemFont(QFontDatabase::FixedFont).family());
|
||||
default_font.setPointSizeF(9.0);
|
||||
|
||||
return GetQSettings().value(QStringLiteral("debugger/font"), default_font).value<QFont>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue