Commit afb943b6 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Port from `Qt::MidButton`

It's `Qt::MiddleButton` now
parent 7d9684b1
......@@ -398,7 +398,7 @@ void DrawZone::mousePressNone(QMouseEvent* e, QPoint drawStart, QPoint zoomedPoi
if (e->button()==Qt::RightButton) {
mousePressRightNone(e,drawStart);
} else {
if (e->button()==Qt::MidButton) {
if (e->button() == Qt::MiddleButton) {
mouseDoubleClickEvent(e);
} else {
mousePressLeftNone(e,drawStart,zoomedPoint);
......
Supports Markdown
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