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:
parent
455f06eb8b
commit
aa1dd0b63f
@ -37,6 +37,7 @@ BoxLayout::BoxLayout(LayoutItem *parent)
|
|||||||
: Layout(parent),
|
: Layout(parent),
|
||||||
d(new Private)
|
d(new Private)
|
||||||
{
|
{
|
||||||
|
parent->setLayout(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
BoxLayout::~BoxLayout()
|
BoxLayout::~BoxLayout()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user