mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 09:50:12 +00:00
Use "selectionToggleRect().contains(pos)" instead
of "m_selectionToggle->contains(pos)" in
KItemListWidget::setHoverPosition(const QPointF& pos).
This wrong check was accidentally introduced by
commit 24326d4473
BUG: 299328
REVIEW: 118320
FIXED-IN: 4.13.2
This commit is contained in:
parent
4ecdb8fe6e
commit
fb69036dbd
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue