mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
Update src/gui/macosshiftclickhandler.cpp
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
parent
ef71a36fc5
commit
afad1057c1
1 changed files with 1 additions and 1 deletions
|
@ -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->pos());
|
const QModelIndex clickedIndex = m_treeView->indexAt(mouseEvent->position());
|
||||||
if (!clickedIndex.isValid())
|
if (!clickedIndex.isValid())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue