From 0dd26b37bc4bf17149200e944864aabfbff74444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 17 Mar 2011 19:02:52 +0100 Subject: [PATCH] Remove not needed slot from config --- effects/dashboard/dashboard_config.cpp | 14 ++++---------- effects/dashboard/dashboard_config.h | 3 --- 2 files changed, 4 insertions(+), 13 deletions(-) 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