From dba52c6549d1063bd5cdd51e6426a0e279fb8338 Mon Sep 17 00:00:00 2001 From: yanghongwei Date: Wed, 26 May 2021 17:52:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=A0=8F=E5=9C=A8=E6=97=B6=E5=B0=9A=E6=A8=A1=E5=BC=8F=E4=B8=8B?= =?UTF-8?q?=EF=BC=8CApp=E7=9A=84=E6=9C=AA=E6=BF=80=E6=B4=BB=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=B8=8B=E6=A0=87=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AppItem没有初始化系统主题,导致显示异常 Log: 修复任务栏在时尚模式下,App的未激活状态下标显示错误 Bug: https://pms.uniontech.com/zentao/task-view-77631.html Change-Id: Id560d30a35c42bcf15bd159c0839754207ce834d --- frame/item/appitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frame/item/appitem.cpp b/frame/item/appitem.cpp index c1b4818ab..36d03424c 100644 --- a/frame/item/appitem.cpp +++ b/frame/item/appitem.cpp @@ -66,6 +66,7 @@ AppItem::AppItem(const QGSettings *appSettings, const QGSettings *activeAppSetti , m_updateIconGeometryTimer(new QTimer(this)) , m_retryObtainIconTimer(new QTimer(this)) , m_refershIconTimer(new QTimer(this)) + , m_themeType(DGuiApplicationHelper::instance()->themeType()) { QHBoxLayout *centralLayout = new QHBoxLayout; centralLayout->setMargin(0);