From 9bfb0852327154517a88cb17245d32a9dfcb86d2 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 17 Sep 2009 10:07:47 +0000 Subject: [PATCH] Fix "QLayout: Attempting to add QLayout "" to KWin::TabBox::LayoutConfig "LayoutConfigForm", which already has a layout" svn path=/trunk/KDE/kdebase/workspace/; revision=1024833 --- kcmkwin/kwintabbox/layoutconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcmkwin/kwintabbox/layoutconfig.cpp b/kcmkwin/kwintabbox/layoutconfig.cpp index 100bcc9e51..908222ff34 100644 --- a/kcmkwin/kwintabbox/layoutconfig.cpp +++ b/kcmkwin/kwintabbox/layoutconfig.cpp @@ -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 );