From 42a2443d62364a8140a141b9e8d3146e06e04d8d Mon Sep 17 00:00:00 2001 From: Steve Mokris Date: Sun, 12 May 2024 11:24:51 -0400 Subject: [PATCH] Restore macOS monospace font size prior to #10282 --- src/gui/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Font.cpp b/src/gui/Font.cpp index 352abea8cd..ee8034e8ff 100644 --- a/src/gui/Font.cpp +++ b/src/gui/Font.cpp @@ -40,7 +40,7 @@ QFont Font::fixedFont() #endif #ifdef Q_OS_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(), qApp->font().pointSize()); #endif return fixedFont; }