* 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:
parent
faa7b0abd1
commit
71d8ad6a41
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user