reparenting them to zero means they won't get destroyed when the parent
widget/applet will be destroyed svn path=/trunk/KDE/kdelibs/; revision=1032271
This commit is contained in:
parent
947e2cd632
commit
155bfdc62a
@ -452,8 +452,6 @@ void Corona::addOffscreenWidget(QGraphicsWidget *widget)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
widget->setParentItem(0);
|
|
||||||
|
|
||||||
if (!widget->scene()) {
|
if (!widget->scene()) {
|
||||||
addItem(widget);
|
addItem(widget);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user