Update src/gui/macosshiftclickhandler.cpp

Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
Luke Memet 2025-02-15 15:57:39 -05:00 committed by GitHub
commit afad1057c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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