QGraphicsProxyWidget::conetextMenuEvent question
General and Desktop
2
Posts
2
Posters
1.7k
Views
1
Watching
-
Not sure if this a bug, but here we go. QGraphicsProxyWidget::contextMenuEvent has the following easy out check,
@
void QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
{
Q_D(QGraphicsProxyWidget);
if (!event || !d->widget || !d->widget->isVisible() || !hasFocus())
return;
@The QGraphicsSceneContextMenuEvent that is passed in defaults to accepted. If you return immediately, should not the proxy then ignore the event?