From aa1dd0b63fb91e908294db9fe3495f7b4fb39853 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 26 Jul 2007 02:30:16 +0000 Subject: [PATCH] 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 --- widgets/boxlayout.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/boxlayout.cpp b/widgets/boxlayout.cpp index db5851e81..813ad927b 100644 --- a/widgets/boxlayout.cpp +++ b/widgets/boxlayout.cpp @@ -37,6 +37,7 @@ BoxLayout::BoxLayout(LayoutItem *parent) : Layout(parent), d(new Private) { + parent->setLayout(this); } BoxLayout::~BoxLayout()