Remove not needed slot from config

This commit is contained in:
Martin Gräßlin 2011-03-17 19:02:52 +01:00
parent 1a226ea3ca
commit 0dd26b37bc
2 changed files with 4 additions and 13 deletions

View file

@ -30,10 +30,10 @@ DashboardEffectConfig::DashboardEffectConfig(QWidget *parent, const QVariantList
{
ui.setupUi(this);
connect(ui.brightness, SIGNAL(valueChanged(int)), SLOT(valueChanged(int)));
connect(ui.saturation, SIGNAL(valueChanged(int)), SLOT(valueChanged(int)));
connect(ui.duration, SIGNAL(valueChanged(int)), SLOT(valueChanged(int)));
connect(ui.blur, SIGNAL(stateChanged(int)), SLOT(valueChanged(int)));
connect(ui.brightness, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(ui.saturation, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(ui.duration, SIGNAL(valueChanged(int)), SLOT(changed()));
connect(ui.blur, SIGNAL(stateChanged(int)), SLOT(changed()));
load();
}
@ -79,12 +79,6 @@ void DashboardEffectConfig::save()
EffectsHandler::sendReloadMessage("dashboard");
}
void DashboardEffectConfig::valueChanged(int value)
{
Q_UNUSED(value)
emit changed(true);
}
void DashboardEffectConfig::defaults()
{
emit changed(true);

View file

@ -43,9 +43,6 @@ private:
long net_wm_dashboard;
::Ui::DashboardEffectConfig ui;
private slots:
void valueChanged(int value);
};
} // namespace KWin