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:
Hugo Pereira Da Costa 2009-12-15 01:27:50 +00:00
parent a60de51d6a
commit dd3a6041de

View file

@ -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;
}