mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: popup not shown
Change-Id: I1dfd38e834a4aff8e42f80f4354a887ab3fa0e7c
This commit is contained in:
parent
ef327aa748
commit
0a0b60aa5f
Notes:
gerrit
2018-03-27 10:00:31 +00:00
Verified+1: Anonymous Coward #1000004 Verified+1: <yefei@linuxdeepin.com> Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Tue, 27 Mar 2018 10:00:30 +0000 Reviewed-on: https://cr.deepin.io/33061 Project: dde/dde-dock Branch: refs/heads/master
@ -132,8 +132,7 @@ void DockItem::enterEvent(QEvent *e)
|
||||
{
|
||||
m_hover = true;
|
||||
m_hoverEffect->setHighlighting(true);
|
||||
if (!PopupWindow->model())
|
||||
m_popupTipsDelayTimer->start();
|
||||
m_popupTipsDelayTimer->start();
|
||||
|
||||
update();
|
||||
|
||||
@ -221,7 +220,7 @@ void DockItem::onContextMenuAccepted()
|
||||
void DockItem::showHoverTips()
|
||||
{
|
||||
// another model popup window is alread exists
|
||||
if (PopupWindow->isVisible() && PopupWindow->model())
|
||||
if (PopupWindow->model())
|
||||
return;
|
||||
|
||||
// if not in geometry area
|
||||
|
Loading…
x
Reference in New Issue
Block a user