Skip to content

Commit

Permalink
Restore macOS monospace font size prior to #10282
Browse files Browse the repository at this point in the history
  • Loading branch information
smokris authored and droidmonkey committed Jun 2, 2024
1 parent 6fbab25 commit 42a2443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/Font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 42a2443

Please sign in to comment.