build fixes

This commit is contained in:
Luke Memet 2025-02-15 16:04:15 -05:00
commit 853c59a7e0

View file

@ -46,7 +46,7 @@ bool MacOSShiftClickHandler::eventFilter(QObject *watched, QEvent *event)
if (mouseEvent->button() != Qt::LeftButton) if (mouseEvent->button() != Qt::LeftButton)
return false; return false;
const QModelIndex clickedIndex = m_treeView->indexAt(mouseEvent->position()); const QModelIndex clickedIndex = m_treeView->indexAt(mouseEvent->position().toPoint());
if (!clickedIndex.isValid()) if (!clickedIndex.isValid())
return false; return false;
@ -69,5 +69,5 @@ bool MacOSShiftClickHandler::eventFilter(QObject *watched, QEvent *event)
m_lastClickedIndex = clickedIndex; m_lastClickedIndex = clickedIndex;
} }
return QObject::eventFilter(obj, event); return QObject::eventFilter(watched, event);
} }