Commit 7479fef7 authored by Laurent Montel's avatar Laurent Montel 😁

Port away from deprecated Qt::MidButton

parent eafaca44
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment