mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: 任务栏切换位置消失或不动
任务栏在无动画特效切换屏幕停靠位置时调用move函数时因事件未处理而不生效 Log: 修复任务栏在屏幕上切换停靠位置时会消失或不移动位置的问题 Bug: https://pms.uniontech.com/zentao/bug-view-34458.html Bug: https://pms.uniontech.com/zentao/bug-view-34876.html
This commit is contained in:
parent
5d9cfc2753
commit
91aa6b62ab
@ -262,6 +262,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
m_mainPanel->move(QPoint(0, 0));
|
||||
qDebug() << "Show animation finished:" << frameGeometry();
|
||||
qDebug() << "Show animation finished not frame:" << geometry();
|
||||
QWidget::update();
|
||||
});
|
||||
|
||||
connect(m_panelHideAni, &QVariantAnimation::finished, [ this ]() {
|
||||
@ -277,6 +278,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
|
||||
qDebug() << "Hide animation finished" << frameGeometry();
|
||||
qDebug() << "Hide animation finished not frame:" << geometry();
|
||||
QWidget::update();
|
||||
});
|
||||
|
||||
updateRegionMonitorWatch();
|
||||
|
Loading…
x
Reference in New Issue
Block a user