Skip to content

Commit

Permalink
Do not override fixed font size
Browse files Browse the repository at this point in the history
This allows properly configuring a readable/desired fixed font in system settings, keepassxcrc etc.
  • Loading branch information
jmbreuer authored and droidmonkey committed Mar 31, 2024
1 parent 812bb60 commit 35fdcfa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gui/Font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 35fdcfa

Please sign in to comment.