1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Use the correct super class

This commit is contained in:
Martin Tůma 2022-04-28 22:36:04 +02:00
parent 1e5b18d86a
commit 40febb8c0e

View File

@ -1216,7 +1216,8 @@ bool MapView::event(QEvent *event)
{ {
if (event->type() == QEvent::Gesture) if (event->type() == QEvent::Gesture)
return gestureEvent(static_cast<QGestureEvent*>(event)); return gestureEvent(static_cast<QGestureEvent*>(event));
return QWidget::event(event);
return QGraphicsView::event(event);
} }
bool MapView::gestureEvent(QGestureEvent *event) bool MapView::gestureEvent(QGestureEvent *event)