Qt: Set font size for default debug font.

This commit is contained in:
Admiral H. Curtiss 2022-03-31 05:28:39 +02:00
parent 4957b2edb9
commit 1ad7aac008
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 1 additions and 0 deletions

View File

@ -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>();
}