add the layout to the parent. this sucks because it isn't done in Layout where it should be, but setLayout results in pure virtuals being called... so child class it is for now.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692625
This commit is contained in:
Aaron J. Seigo 2007-07-26 02:30:16 +00:00
parent 455f06eb8b
commit aa1dd0b63f

View File

@ -37,6 +37,7 @@ BoxLayout::BoxLayout(LayoutItem *parent)
: Layout(parent),
d(new Private)
{
parent->setLayout(this);
}
BoxLayout::~BoxLayout()