From 5b3a26daaf70b6da134e086edd9709e8b0cb1b4e Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 21 Sep 2010 04:05:14 +0000 Subject: 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 --- libkonq/konq_iconviewwidget.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libkonq/konq_iconviewwidget.cc') 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 & ) -- cgit v1.2.1