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

This closes Bug 335
pull/2/head
Timothy Pearson 12 years ago
parent d5f119e430
commit 398f6a122a

@ -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