diff --git a/effects/dashboard/dashboard_config.cpp b/effects/dashboard/dashboard_config.cpp index 9344918774..0d161abb01 100644 --- a/effects/dashboard/dashboard_config.cpp +++ b/effects/dashboard/dashboard_config.cpp @@ -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); diff --git a/effects/dashboard/dashboard_config.h b/effects/dashboard/dashboard_config.h index 40a064270d..a70beb8980 100644 --- a/effects/dashboard/dashboard_config.h +++ b/effects/dashboard/dashboard_config.h @@ -43,9 +43,6 @@ private: long net_wm_dashboard; ::Ui::DashboardEffectConfig ui; -private slots: - void valueChanged(int value); - }; } // namespace KWin