Fix selection toggle hovering
Review Request #118320 - Created May 25, 2014 and submitted
Use "selectionToggleRect().contains(pos)" instead of "m_selectionToggle->contains(pos)" in KItemListWidget::setHoverPosition(const QPointF& pos). This wrong check was accidentally introduced by commit 24326d447358f0dbfc18963743207d4a3d4f1c9e I have marked this bug as Junior Job some time ago, but nobody stepped up so far. I have decided to fix it now, so that our users don't suffer from this problem anymore in Dolphin 4.13.2.
Works fine for me.
Thanks for the patch! Looks good and works nicely here. I guess it might be even better to use a fade-in/fade-out animation for the toggle (I think we had something like that in Dolphin 1.x), but this is just something to keep in mind for the future (4.14 maybe).