Repair incorrectly show icon activation effect in List View when said effects are disabled

This closes Bug 335
(cherry picked from commit 398f6a122a)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent 6fda116977
commit ebd378ce6a

@ -1009,9 +1009,12 @@ void KonqBaseListViewWidget::slotReturnPressed( TQListViewItem *_item )
// gather pixmap
TQPixmap *pix = new TQPixmap(*(_item->pixmap(0)));
// call the icon effect
KIconEffect::visualActivate(viewport(), rect, pix);
// call the icon effect if enabled
if (KGlobalSettings::showKonqIconActivationEffect() == true) {
KIconEffect::visualActivate(viewport(), rect, pix);
}
// clean up
delete(pix);
}
}

Loading…
Cancel
Save