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:
parent
c2049a9875
commit
9bfb085232
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ LayoutConfig::LayoutConfig(QWidget* parent)
|
||||||
{
|
{
|
||||||
d = new LayoutConfigPrivate;
|
d = new LayoutConfigPrivate;
|
||||||
d->ui.setupUi( this );
|
d->ui.setupUi( this );
|
||||||
QVBoxLayout* layout = new QVBoxLayout( this );
|
QVBoxLayout* layout = new QVBoxLayout;
|
||||||
QWidget* tabBoxView = tabBox->tabBoxView();
|
QWidget* tabBoxView = tabBox->tabBoxView();
|
||||||
tabBoxView->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding );
|
tabBoxView->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding );
|
||||||
layout->addWidget( tabBoxView );
|
layout->addWidget( tabBoxView );
|
||||||
|
|
Loading…
Reference in a new issue