mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-03 12:06:25 -04:00
Restore macOS monospace font size prior to #10282
This commit is contained in:
parent
6fbab25478
commit
42a2443d62
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ QFont Font::fixedFont()
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_OS_MACOS
|
#ifdef Q_OS_MACOS
|
||||||
// Qt doesn't choose a monospace font correctly on 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
|
#endif
|
||||||
return fixedFont;
|
return fixedFont;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue