From dd3a6041defd3cb1b63597c5ba4b7b504a501699 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Tue, 15 Dec 2009 01:27:50 +0000 Subject: [PATCH] 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 --- clients/oxygen/oxygenclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index b67eed8fb1..23d498858f 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -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; }