Commit e43d50fd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Qt::MiddleButton is deprecated in qt5.15 branch

parent 1752f48c
......@@ -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();
}
......
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