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:
parent
e519c91eea
commit
7679ff04d8
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue