taking an item also requires re-setting the parent
BUG:250420 svn path=/trunk/KDE/kdelibs/; revision=1173601
This commit is contained in:
parent
1b826931d3
commit
6f0631d700
@ -501,6 +501,9 @@ QGraphicsLayoutItem *TabBar::takeTab(int index)
|
||||
|
||||
if (returnItem) {
|
||||
returnItem->setParentLayoutItem(0);
|
||||
if (QGraphicsItem *item = returnItem->graphicsItem()) {
|
||||
item->setParentItem(0);
|
||||
}
|
||||
}
|
||||
|
||||
page->setLayout(0);
|
||||
|
Loading…
Reference in New Issue
Block a user