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 c93eacd1d3
commit 20868ab3a2

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;
}