diff --git a/kcmkwin/kwindecoration/kwindecoration.cpp b/kcmkwin/kwindecoration/kwindecoration.cpp index d1182ac284..13bb320ae2 100644 --- a/kcmkwin/kwindecoration/kwindecoration.cpp +++ b/kcmkwin/kwindecoration/kwindecoration.cpp @@ -112,16 +112,10 @@ KWinDecorationModule::KWinDecorationModule(QWidget* parent, const char* name, co QVBoxLayout* pluginLayout = new QVBoxLayout(pluginPage, KDialog::marginHint(), KDialog::spacingHint()); - pluginSettingsGrp = new QGroupBox( i18n("Decoration Options"), pluginPage ); - pluginSettingsGrp->setColumnLayout( 0, Vertical ); - pluginSettingsGrp->setFlat( true ); - pluginSettingsGrp->layout()->setMargin( 0 ); - pluginSettingsGrp->layout()->setSpacing( KDialog::spacingHint() ); - pluginLayout->addWidget( pluginSettingsGrp ); - pluginLayout->addStretch(); + pluginConfigWidget = new QVBox(pluginPage); - pluginConfigWidget = new QVBox(pluginSettingsGrp); - pluginSettingsGrp->layout()->add( pluginConfigWidget ); + pluginLayout->addWidget( pluginConfigWidget ); + pluginLayout->addStretch(); // Page 2 (Button Selector) QVBox* buttonPage = new QVBox( tabWidget ); @@ -424,12 +418,12 @@ void KWinDecorationModule::resetPlugin( KConfig* conf, const QString& currentDec connect( this, SIGNAL(pluginLoad(KConfig*)), pluginObject, SLOT(load(KConfig*)) ); connect( this, SIGNAL(pluginSave(KConfig*)), pluginObject, SLOT(save(KConfig*)) ); connect( this, SIGNAL(pluginDefaults()), pluginObject, SLOT(defaults()) ); - pluginSettingsGrp->show(); + pluginConfigWidget->show(); return; } } - pluginSettingsGrp->hide(); + pluginConfigWidget->hide(); } diff --git a/kcmkwin/kwindecoration/kwindecoration.h b/kcmkwin/kwindecoration/kwindecoration.h index ebce398ab9..a1583851fc 100644 --- a/kcmkwin/kwindecoration/kwindecoration.h +++ b/kcmkwin/kwindecoration/kwindecoration.h @@ -119,7 +119,6 @@ class KWinDecorationModule : public KCModule, virtual public KWinDecorationIface BorderSize border_size; QObject* pluginObject; - QGroupBox* pluginSettingsGrp; QWidget* pluginConfigWidget; QString currentLibraryName; QString oldLibraryName;