mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Use the correct super class
This commit is contained in:
parent
1e5b18d86a
commit
40febb8c0e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user