From e43d50fd2a5e40bf9a8fde46da6b3fe7afb23ad5 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 31 Aug 2020 17:10:42 +0200 Subject: [PATCH] Qt::MiddleButton is deprecated in qt5.15 branch --- scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.cpp b/scene.cpp index a3c5384..b962728 100644 --- a/scene.cpp +++ b/scene.cpp @@ -319,7 +319,7 @@ void Killbots::Scene::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) } } else if (event->button() == Qt::RightButton) { userAction = Settings::rightClickAction(); - } else if (event->button() == Qt::MidButton) { + } else if (event->button() == Qt::MiddleButton) { userAction = Settings::middleClickAction(); } -- GitLab