Restore macOS monospace font size prior to #10282

This commit is contained in:
Steve Mokris 2024-05-12 11:24:51 -04:00 committed by Jonathan White
parent 6fbab25478
commit 42a2443d62
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -40,7 +40,7 @@ QFont Font::fixedFont()
#endif
#ifdef Q_OS_MACOS
// Qt doesn't choose a monospace font correctly on macOS
fixedFont = QFontDatabase().font("Menlo", fixedFont.styleName(), fixedFont.pointSize());
fixedFont = QFontDatabase().font("Menlo", fixedFont.styleName(), qApp->font().pointSize());
#endif
return fixedFont;
}