Commit 8abfd510 authored by Robert-André Mauchin's avatar Robert-André Mauchin
Browse files

Port away from deprecated Qt::MidButton

Fix #428918
parent a51e0eb0
......@@ -133,7 +133,7 @@ void KateTabBar::mousePressEvent(QMouseEvent *event)
QTabBar::mousePressEvent(event);
// handle close for middle mouse button
if (event->button() == Qt::MidButton) {
if (event->button() == Qt::MiddleButton) {
int id = tabAt(event->pos());
if (id >= 0) {
emit tabCloseRequested(id);
......
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