mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-01 19:47:39 +03:00
Restore macOS monospace font size prior to #10282
This commit is contained in:
parent
c93eacd1d3
commit
20868ab3a2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue