mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix dock position error
Change-Id: I47d9c2d25e9515f3c52d2cbe4e4284d30b12fa50
This commit is contained in:
parent
713f9fa7f7
commit
ac74a279bd
Notes:
Deepin Code Review
2016-08-05 08:08:51 +00:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Fri, 05 Aug 2016 08:08:51 +0000 Reviewed-on: https://cr.deepin.io/14948 Project: dde/dde-dock Branch: refs/heads/master
@ -147,6 +147,9 @@ void MainWindow::initConnections()
|
||||
QWidget::setFixedSize(size);
|
||||
m_mainPanel->setFixedSize(size);
|
||||
});
|
||||
connect(m_posChangeAni, &QPropertyAnimation::finished, [this] {
|
||||
QWidget::move(m_posChangeAni->endValue().toPoint());
|
||||
});
|
||||
}
|
||||
|
||||
void MainWindow::updatePosition()
|
||||
|
Loading…
x
Reference in New Issue
Block a user