0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-20 04:12:15 +02:00

Do not override fixed font size

This allows properly configuring a readable/desired fixed font in system settings, keepassxcrc etc.
This commit is contained in:
Joachim Breuer 2024-02-08 06:43:03 +01:00 committed by Jonathan White
parent 812bb606c7
commit 35fdcfa28d

View File

@ -41,9 +41,6 @@ QFont Font::fixedFont()
#ifdef Q_OS_MACOS
// Qt doesn't choose a monospace font correctly on macOS
fixedFont = QFontDatabase().font("Menlo", fixedFont.styleName(), fixedFont.pointSize());
#endif
#ifndef Q_OS_WIN
fixedFont.setPointSize(qApp->font().pointSize());
#endif
return fixedFont;
}