]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Port away from deprecated Qt::MidButton
authorLaurent Montel <montel@kde.org>
Mon, 31 Aug 2020 19:24:03 +0000 (21:24 +0200)
committerLaurent Montel <montel@kde.org>
Mon, 31 Aug 2020 19:24:03 +0000 (21:24 +0200)
src/kitemviews/kitemlistcontroller.cpp

index e1590071e9303fa1b7ea4d0d05fc797dca898b35..2b52666009112ed88c08b4fbccc37040c21ccccc 100644 (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);
         }
     }