Update the parent of a LayoutItem when calling setLayout
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=706935
This commit is contained in:
parent
d1aba23cd2
commit
af8659fa22
@ -89,6 +89,7 @@ void LayoutItem::setLayout(Layout* layout)
|
||||
}
|
||||
|
||||
d->layout = layout;
|
||||
layout->setParent(this);
|
||||
}
|
||||
|
||||
Layout* LayoutItem::layout() const
|
||||
|
Loading…
Reference in New Issue
Block a user