Fix infinite loop
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717393
This commit is contained in:
parent
67322b0367
commit
f4efdfa1f0
@ -425,7 +425,7 @@ void Widget::contextMenuEvent(QGraphicsSceneContextMenuEvent *contextMenuEvent)
|
||||
}
|
||||
|
||||
while (item && item->parentItem()) {
|
||||
item = dynamic_cast<Widget*>(parentItem()); //item->parentItem();
|
||||
item = dynamic_cast<Widget*>(item->parentItem());
|
||||
}
|
||||
|
||||
if (!item) {
|
||||
|
Loading…
Reference in New Issue
Block a user