menus should show on press, not release (though the paste plugin is correct in activating on release)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1015485
This commit is contained in:
parent
1f57b0c726
commit
5b435bae2b
@ -36,7 +36,7 @@ ContextTest::ContextTest(QObject *parent, const QVariantList &args)
|
||||
void ContextTest::contextEvent(QEvent *event)
|
||||
{
|
||||
switch (event->type()) {
|
||||
case QEvent::GraphicsSceneMouseRelease:
|
||||
case QEvent::GraphicsSceneMousePress:
|
||||
contextEvent(dynamic_cast<QGraphicsSceneMouseEvent*>(event));
|
||||
break;
|
||||
case QEvent::GraphicsSceneWheel:
|
||||
|
Loading…
Reference in New Issue
Block a user