wait dbus request finished

Change-Id: If7d29dc2191e2f3b38836785eb2ad015c98981ba
This commit is contained in:
石博文 2016-09-02 09:23:48 +08:00
parent da9b9cdcdf
commit 4db7d1626d
Notes: Deepin Code Review 2016-09-02 01:37:55 +00:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Fri, 02 Sep 2016 01:37:55 +0000
Reviewed-on: https://cr.deepin.io/15796
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -6,7 +6,7 @@
DWIDGET_USE_NAMESPACE
#define MOUSE_BUTTON 1 << 1
const int MOUSE_BUTTON(1 << 1);
DockPopupWindow::DockPopupWindow(QWidget *parent)
: DArrowRectangle(ArrowBottom, parent),
@ -133,6 +133,6 @@ void DockPopupWindow::unRegisterMouseEvent()
disconnect(m_mouseInter, &DBusXMouseArea::ButtonRelease, this, &DockPopupWindow::globalMouseRelease);
m_mouseInter->UnregisterArea(m_mouseAreaKey);
m_mouseInter->UnregisterArea(m_mouseAreaKey).waitForFinished();
m_mouseAreaKey.clear();
}