remove mouseReleaseEvent corresponding to showing the menu from the event loop.
this is a patch originally from Thomas Lubig (thanks!) CCBUG: 218623 svn path=/trunk/KDE/kdebase/workspace/; revision=1062526
This commit is contained in:
parent
a60de51d6a
commit
dd3a6041de
1 changed files with 2 additions and 1 deletions
|
@ -1470,11 +1470,12 @@ namespace Oxygen
|
|||
QPoint point = event->pos();
|
||||
int itemClicked( OxygenClient::itemClicked( point ) );
|
||||
displayClientMenu( itemClicked, widget()->mapToGlobal( event->pos() ) );
|
||||
accepted = true; // displayClientMenu can possibly destroy the deco...
|
||||
|
||||
}
|
||||
|
||||
mouseButton_ = Qt::NoButton;
|
||||
return false;
|
||||
return accepted;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue