From eeea299187d64608f541b5768b2d215388bb497e Mon Sep 17 00:00:00 2001 From: Joachim Breuer Date: Thu, 8 Feb 2024 06:43:03 +0100 Subject: [PATCH] Do not override fixed font size This allows properly configuring a readable/desired fixed font in system settings, keepassxcrc etc. --- src/gui/Font.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/Font.cpp b/src/gui/Font.cpp index af939b0ad..352abea8c 100644 --- a/src/gui/Font.cpp +++ b/src/gui/Font.cpp @@ -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; }