mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix popup window display behavior
Change-Id: I9a5a1631030d72d102e8b105851191d024dbb956
This commit is contained in:
parent
5a20ec0cab
commit
636753a99f
@ -78,7 +78,7 @@ bool DockPopupWindow::eventFilter(QObject *o, QEvent *e)
|
||||
return false;
|
||||
|
||||
// FIXME: ensure position move after global mouse release event
|
||||
QTimer::singleShot(100, this, [this] {show(m_lastPoint, m_model);});
|
||||
QTimer::singleShot(100, this, [this] {if (isVisible()) show(m_lastPoint, m_model);});
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -23,8 +23,11 @@ AccessPoint::AccessPoint(const QString &info)
|
||||
}
|
||||
|
||||
AccessPoint::AccessPoint()
|
||||
: QObject(nullptr),
|
||||
m_strength(0),
|
||||
m_secured(false),
|
||||
m_securedInEap(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool AccessPoint::operator==(const AccessPoint &ap) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user