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

svn path=/trunk/kdebase/kwin/; revision=281594
icc-effect-5.14.5
Albert Astals Cid 2004-01-21 17:19:59 +00:00
parent e519c91eea
commit 7679ff04d8
1 changed files with 1 additions and 3 deletions

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