Port away from deprecated Qt::MidButton

This commit is contained in:
Laurent Montel 2020-08-31 21:24:03 +02:00
parent eafaca44da
commit 7479fef799

View file

@ -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);
}
}