change m_lastPoint

Change-Id: I23e0ef3d4907f4825b70c9ebac05f56532d4c928
This commit is contained in:
石博文 2017-03-24 15:55:33 +08:00
parent b078a0f7a5
commit 81b874bf28
Notes: Deepin Code Review 2017-03-24 16:27:55 +08:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Fri, 24 Mar 2017 16:27:55 +0800
Reviewed-on: https://cr.deepin.io/21794
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -66,7 +66,7 @@ void DockPopupWindow::show(const int x, const int y)
{
resizeWithContent();
m_lastPos = QPoint(x, y);
m_lastPoint = QPoint(x, y);
move(x, y);
if (!isVisible())
QWidget::show();