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:
Aaron J. Seigo 2009-08-25 16:14:49 +00:00
parent 1f57b0c726
commit 5b435bae2b

View File

@ -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: