mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-15 11:09:23 -04:00
parent
2a51f2cba5
commit
db032831e0
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,11 @@ QFont Font::fixedFont()
|
||||||
fixedFont = consolasFont;
|
fixedFont = consolasFont;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef Q_OS_MACOS
|
||||||
|
// Qt doesn't choose a monospace font correctly on macOS
|
||||||
|
const QFont defaultFont;
|
||||||
|
fixedFont = QFontDatabase().font("Menlo", defaultFont.styleName(), defaultFont.pointSize());
|
||||||
|
#endif
|
||||||
|
|
||||||
return fixedFont;
|
return fixedFont;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue