From 543cc6312fbb723545f97ab7a8426be7ddd0d673 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 17 Sep 2010 07:53:43 +0000 Subject: Removed some additional KDE references Added option to disable panel icon launch effect git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176254 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kicker/libkicker/kickerSettings.kcfg | 5 +++++ kicker/libkicker/panelbutton.cpp | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'kicker/libkicker') diff --git a/kicker/libkicker/kickerSettings.kcfg b/kicker/libkicker/kickerSettings.kcfg index 99625809d..0f725c35f 100644 --- a/kicker/libkicker/kickerSettings.kcfg +++ b/kicker/libkicker/kickerSettings.kcfg @@ -90,6 +90,11 @@ true + + + true + + diff --git a/kicker/libkicker/panelbutton.cpp b/kicker/libkicker/panelbutton.cpp index f1ab69fb8..a04e9aee0 100644 --- a/kicker/libkicker/panelbutton.cpp +++ b/kicker/libkicker/panelbutton.cpp @@ -504,7 +504,9 @@ void PanelButton::mouseReleaseEvent(TQMouseEvent *e) m_isLeftMouseButtonDown = false; TQPixmap pix = labelIcon(); - KIconEffect::visualActivate(this, this->geometry(), &pix); + if (KickerSettings::showIconActivationEffect() == true) { + KIconEffect::visualActivate(this, this->geometry(), &pix); + } } TQButton::mouseReleaseEvent(e); } -- cgit v1.2.1