diff --git a/src/GUI/mapview.cpp b/src/GUI/mapview.cpp index 266be4b3..24709947 100644 --- a/src/GUI/mapview.cpp +++ b/src/GUI/mapview.cpp @@ -1216,7 +1216,8 @@ bool MapView::event(QEvent *event) { if (event->type() == QEvent::Gesture) return gestureEvent(static_cast(event)); - return QWidget::event(event); + + return QGraphicsView::event(event); } bool MapView::gestureEvent(QGestureEvent *event)