* Don't pass the event to the applet superclass if it has already been accepted

* in the paste plugin, accept mouse press events
BUG:262650

svn path=/trunk/KDE/kdelibs/; revision=1213457
This commit is contained in:
Marco Martin 2011-01-10 12:37:04 +00:00
parent faa7b0abd1
commit 71d8ad6a41

View File

@ -568,9 +568,11 @@ void Containment::mousePressEvent(QGraphicsSceneMouseEvent *event)
d->actionPlugins()->value(trigger)->contextEvent(event);
}
if (!event->isAccepted()) {
Applet::mousePressEvent(event);
}
}
}
void Containment::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
{