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 );