From 1c5f31da6fa4a6be51d6b95d9ef233bf4f226707 Mon Sep 17 00:00:00 2001 From: uniartisan Date: Thu, 20 Oct 2022 21:13:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A6=E4=BE=A7=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widget.cpp b/src/widget.cpp index d171117..d7b6f55 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -510,6 +510,9 @@ void Widget::updateUI() * left_list[i]->setFont(temp); */ + QFont temp; + temp.setFamily(temp.defaultFamily()); + left_list[i]->setFont(temp); left_list[i]->setFixedHeight(38); if(themeIsDark) {