mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-13 01:26:37 -04:00
Restore macOS monospace font size prior to #10282
This commit is contained in:
parent
6fbab25478
commit
42a2443d62
@ -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…
x
Reference in New Issue
Block a user