Fix "QLayout: Attempting to add QLayout "" to KWin::TabBox::LayoutConfig "LayoutConfigForm", which already has a layout"

svn path=/trunk/KDE/kdebase/workspace/; revision=1024833
This commit is contained in:
Laurent Montel 2009-09-17 10:07:47 +00:00
parent c2049a9875
commit 9bfb085232

View file

@ -61,7 +61,7 @@ LayoutConfig::LayoutConfig(QWidget* parent)
{
d = new LayoutConfigPrivate;
d->ui.setupUi( this );
QVBoxLayout* layout = new QVBoxLayout( this );
QVBoxLayout* layout = new QVBoxLayout;
QWidget* tabBoxView = tabBox->tabBoxView();
tabBoxView->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding );
layout->addWidget( tabBoxView );