From 40febb8c0e4ecaf54b200b46b1925856ad1b2dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 28 Apr 2022 22:36:04 +0200 Subject: [PATCH] Use the correct super class --- src/GUI/mapview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)