- Fix default button

svn path=/trunk/KDE/kdebase/workspace/; revision=815409
This commit is contained in:
Michael Jansen 2008-06-01 17:48:59 +00:00
parent 6f6bc897c9
commit 8caa518a12

View file

@ -70,7 +70,7 @@ DesktopGridEffectConfig::DesktopGridEffectConfig(QWidget* parent, const QVariant
comboLayout->addWidget(label);
comboLayout->addWidget(mActivateCombo);
layout->addLayout(comboLayout);
KActionCollection* actionCollection = new KActionCollection( this, componentData() );
KAction* show = static_cast<KAction*>(actionCollection->addAction( "ShowDesktopGrid" ));
show->setText( i18n("Show Desktop Grid" ));
@ -83,8 +83,6 @@ DesktopGridEffectConfig::DesktopGridEffectConfig(QWidget* parent, const QVariant
layout->addWidget(mShortcutEditor);
layout->addStretch();
load();
}
DesktopGridEffectConfig::~DesktopGridEffectConfig()
@ -135,6 +133,7 @@ void DesktopGridEffectConfig::defaults()
kDebug() ;
mSlide->setChecked(true);
mActivateCombo->setCurrentIndex( (int)ElectricNone );
mShortcutEditor->allDefault();
emit changed(true);
}