mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-30 08:13:25 -05: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:
parent
6875851892
commit
eeea299187
@ -41,9 +41,6 @@ QFont Font::fixedFont()
|
|||||||
#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(), fixedFont.pointSize());
|
||||||
#endif
|
|
||||||
#ifndef Q_OS_WIN
|
|
||||||
fixedFont.setPointSize(qApp->font().pointSize());
|
|
||||||
#endif
|
#endif
|
||||||
return fixedFont;
|
return fixedFont;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user