summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_iconviewwidget.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-21 04:05:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-21 04:05:14 +0000
commit5b3a26daaf70b6da134e086edd9709e8b0cb1b4e (patch)
tree71119a3efcd95333a75dda623288ba9d13750eab /libkonq/konq_iconviewwidget.cc
parent9709961f30e0dbcd9e8d26bd4c5945ba0ac50fa3 (diff)
downloadtdebase-5b3a26daaf70b6da134e086edd9709e8b0cb1b4e.tar.gz
tdebase-5b3a26daaf70b6da134e086edd9709e8b0cb1b4e.zip
Added option to disable Konqueror/KDesktop icon activation effects
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1177743 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/konq_iconviewwidget.cc')
-rw-r--r--libkonq/konq_iconviewwidget.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libkonq/konq_iconviewwidget.cc b/libkonq/konq_iconviewwidget.cc
index d8c4bb93e..0ce2ca346 100644
--- a/libkonq/konq_iconviewwidget.cc
+++ b/libkonq/konq_iconviewwidget.cc
@@ -1848,7 +1848,9 @@ void KonqIconViewWidget::visualActivate(TQIconViewItem * item)
// Adjust for scrolling (David)
rect.moveBy( -contentsX(), -contentsY() );
- KIconEffect::visualActivate(viewport(), rect, item->pixmap());
+ if (KGlobalSettings::showKonqIconActivationEffect() == true) {
+ KIconEffect::visualActivate(viewport(), rect, item->pixmap());
+ }
}
void KonqIconViewWidget::backgroundPixmapChange( const TQPixmap & )