summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker/panelbutton.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-17 07:53:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-17 07:53:43 +0000
commit543cc6312fbb723545f97ab7a8426be7ddd0d673 (patch)
tree7a3482fee788ea575a0c9a27a8df1119ce2ed0a0 /kicker/libkicker/panelbutton.cpp
parent508c2e6e43465c90a9973072f45d8bbe4d6900d9 (diff)
downloadtdebase-543cc6312fbb723545f97ab7a8426be7ddd0d673.tar.gz
tdebase-543cc6312fbb723545f97ab7a8426be7ddd0d673.zip
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
Diffstat (limited to 'kicker/libkicker/panelbutton.cpp')
-rw-r--r--kicker/libkicker/panelbutton.cpp4
1 files changed, 3 insertions, 1 deletions
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);
}