Remove a runtime warning about layouts in a widget that already has a layout

svn path=/trunk/kdebase/kwin/; revision=281594
This commit is contained in:
Albert Astals Cid 2004-01-21 17:19:59 +00:00
parent e519c91eea
commit 7679ff04d8

View file

@ -513,7 +513,7 @@ KAdvancedConfig::KAdvancedConfig (bool _standAlone, KConfig *_config, QWidget *p
lay->addWidget(electricBox);
QHBoxLayout* focusStealingLayout = new QHBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint());
QHBoxLayout* focusStealingLayout = new QHBoxLayout( lay,KDialog::spacingHint());
QLabel* focusStealingLabel = new QLabel( i18n( "Focus stealing prevention level:" ), this );
focusStealing = new QComboBox( this );
focusStealing->insertItem( i18n( "Focus Stealing Prevention Level", "None" ));
@ -543,8 +543,6 @@ KAdvancedConfig::KAdvancedConfig (bool _standAlone, KConfig *_config, QWidget *p
connect(focusStealing, SIGNAL(activated(int)), SLOT(changed()));
lay->addLayout( focusStealingLayout );
lay->addStretch();
load();