fix: 剪贴板或通知中心没有跟随任务栏

任务栏大小、位置更新时,没有发出对应信号

Log: 解决剪贴板或通知中心没有跟随任务栏问题
Bug: https://pms.uniontech.com/zentao/bug-view-48969.html
Change-Id: I8c1d79b4cd52484ff1eb0873164ed6a82c2ac569
Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/5908
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: fanpengcheng <fanpengcheng@uniontech.com>
Tested-by: <mailman@uniontech.com>
This commit is contained in:
liuxing 2020-09-22 18:20:51 +08:00
parent 25185278c5
commit 3aed24c7e0

View File

@ -199,6 +199,9 @@ void MainWindow::moveEvent(QMoveEvent *event)
void MainWindow::resizeEvent(QResizeEvent *event)
{
// 任务栏大小、位置、模式改变都会触发resize发射大小改变信号供依赖项目更新位置
Q_EMIT panelGeometryChanged();
adjustShadowMask();
return DBlurEffectWidget::resizeEvent(event);