Add reference to Qt's bug number that the workaronud works around.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=749089
This commit is contained in:
parent
fc63b0fb29
commit
689bc02935
@ -521,8 +521,9 @@ void Widget::managingLayoutChanged()
|
||||
|
||||
void Widget::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
|
||||
{
|
||||
// HACK: QGraphicsItem's documentation says that the event will be
|
||||
// passed to the parent if it's not handled, but it isn't passed.
|
||||
// HACK: QGraphicsItem's documentation says that the event will be passed
|
||||
// to the parent if it's not handled, but it isn't passed. This can be
|
||||
// removed when Qt4.4 becomes a requirement. See Qt bug #176902.
|
||||
Widget *parentWidget = parent();
|
||||
if (parentWidget) {
|
||||
parentWidget->contextMenuEvent(event);
|
||||
|
Loading…
Reference in New Issue
Block a user