summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker/panelbutton.cpp
diff options
context:
space:
mode:
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);
}