Commit 34a78607 authored by Emmanuel Pescosta's avatar Emmanuel Pescosta
Browse files

Use "selectionToggleRect().contains(pos)" instead

of "m_selectionToggle->contains(pos)" in
KItemListWidget::setHoverPosition(const QPointF& pos).

This wrong check was accidentally introduced by
commit 24326d44

BUG: 299328
REVIEW: 118320
FIXED-IN: 4.13.2
parent e3433f65
......@@ -282,7 +282,7 @@ bool KItemListWidget::isHovered() const
void KItemListWidget::setHoverPosition(const QPointF& pos)
{
if (m_selectionToggle) {
m_selectionToggle->setHovered(m_selectionToggle->contains(pos));
m_selectionToggle->setHovered(selectionToggleRect().contains(pos));
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment