Fix deprecation warning about QHoverEvent::pos

We should be using position().
This commit is contained in:
Joshua Goins
2025-09-07 10:54:29 +02:00
parent e8830b56d8
commit 390654fa4a

View File

@@ -634,7 +634,7 @@ void MessageDelegateBase::hoverEnterEvent(QHoverEvent *event)
void MessageDelegateBase::hoverMoveEvent(QHoverEvent *event)
{
bool oldHovered = m_hovered;
m_hovered = contains(event->pos());
m_hovered = contains(event->position());
if (oldHovered != m_hovered) {
Q_EMIT hoveredChanged();
}