fix: 修复任务栏在时尚模式下,App的未激活状态下标显示错误

AppItem没有初始化系统主题,导致显示异常

Log: 修复任务栏在时尚模式下,App的未激活状态下标显示错误
Bug: https://pms.uniontech.com/zentao/task-view-77631.html
Change-Id: Id560d30a35c42bcf15bd159c0839754207ce834d
This commit is contained in:
yanghongwei 2021-05-26 17:52:52 +08:00
parent 07b6a455eb
commit dba52c6549

View File

@ -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);