mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Fixed broken map zooming using the mouse wheel
(introduced in 11.0)
This commit is contained in:
parent
af0bb2e268
commit
25869200db
@ -663,7 +663,8 @@ void MapView::wheelEvent(QWheelEvent *event)
|
||||
zoom((delta > 0) ? 1 : -1, event->position().toPoint(), shift);
|
||||
#endif // QT 5.15
|
||||
|
||||
QGraphicsView::wheelEvent(event);
|
||||
/* Do not call QGraphicsView::wheelEvent() here as this would shift the
|
||||
view ! */
|
||||
}
|
||||
|
||||
void MapView::keyPressEvent(QKeyEvent *event)
|
||||
|
Loading…
Reference in New Issue
Block a user