mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Port away from deprecated Qt::MidButton
This commit is contained in:
parent
eafaca44da
commit
7479fef799
|
@ -780,7 +780,7 @@ bool KItemListController::mouseReleaseEvent(QGraphicsSceneMouseEvent* event, con
|
|||
if (emitItemActivated) {
|
||||
emit itemActivated(index);
|
||||
}
|
||||
} else if (event->button() & Qt::MidButton) {
|
||||
} else if (event->button() & Qt::MiddleButton) {
|
||||
emit itemMiddleClicked(index);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue