mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
build fixes
This commit is contained in:
parent
2a08716626
commit
853c59a7e0
1 changed files with 2 additions and 2 deletions
|
@ -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->position());
|
||||
const QModelIndex clickedIndex = m_treeView->indexAt(mouseEvent->position().toPoint());
|
||||
if (!clickedIndex.isValid())
|
||||
return false;
|
||||
|
||||
|
@ -69,5 +69,5 @@ bool MacOSShiftClickHandler::eventFilter(QObject *watched, QEvent *event)
|
|||
m_lastClickedIndex = clickedIndex;
|
||||
}
|
||||
|
||||
return QObject::eventFilter(obj, event);
|
||||
return QObject::eventFilter(watched, event);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue