Update the parent of a LayoutItem when calling setLayout

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=706935
This commit is contained in:
Robert Knight 2007-08-31 15:23:09 +00:00
parent d1aba23cd2
commit af8659fa22

View File

@ -89,6 +89,7 @@ void LayoutItem::setLayout(Layout* layout)
}
d->layout = layout;
layout->setParent(this);
}
Layout* LayoutItem::layout() const