From 2cb10e1d13b49653f67474c13a3281a84ec82c03 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 15 Apr 2020 18:05:28 +0400 Subject: [PATCH] Use default QApplication::font. --- ui/style/style_core_font.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/style/style_core_font.cpp b/ui/style/style_core_font.cpp index fcd2bf1..0cd6580 100644 --- a/ui/style/style_core_font.cpp +++ b/ui/style/style_core_font.cpp @@ -215,8 +215,7 @@ void StartFonts() { #endif // Q_OS_MAC #endif // !DESKTOP_APP_USE_PACKAGED_FONTS - auto appFont = QFont(GetFontOverride()); - appFont.setPixelSize(13); + auto appFont = QApplication::font(); appFont.setStyleStrategy(QFont::PreferQuality); QApplication::setFont(appFont);