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:
Jason Stubbs 2007-12-16 13:51:27 +00:00
parent fc63b0fb29
commit 689bc02935

View File

@ -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);