From 6b8cfa5bda6676d95764d0655b20814bef63d4aa Mon Sep 17 00:00:00 2001 From: fanpengcheng Date: Fri, 18 Feb 2022 13:25:53 +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=E9=A2=84=E8=A7=88=E5=9B=BE=E5=A4=A7=E5=B0=8F=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改引入问题 Log: 修复任务栏预览图大小错误的问题 Influence: 2D模式下任务栏预览图大小 Bug: https://pms.uniontech.com/zentao/bug-view-113607.html Change-Id: Ia083cd01fefd81d0276a9430f76d13745904a0f4 --- frame/item/appitem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frame/item/appitem.cpp b/frame/item/appitem.cpp index 1428ac5bf..8d43562d9 100644 --- a/frame/item/appitem.cpp +++ b/frame/item/appitem.cpp @@ -653,9 +653,8 @@ void AppItem::showPreview() return; m_appPreviewTips = new PreviewContainer; - - m_appPreviewTips->updateLayoutDirection(DockPosition); m_appPreviewTips->setWindowInfos(m_windowInfos, m_itemEntryInter->GetAllowedCloseWindows().value()); + m_appPreviewTips->updateLayoutDirection(DockPosition); connect(m_appPreviewTips, &PreviewContainer::requestActivateWindow, this, &AppItem::requestActivateWindow, Qt::QueuedConnection); connect(m_appPreviewTips, &PreviewContainer::requestPreviewWindow, this, &AppItem::requestPreviewWindow, Qt::QueuedConnection);