Skip to content

Commit

Permalink
thirdparty/QGeoView/QGVMapGGView: Do not ignore events in event callback
Browse files Browse the repository at this point in the history
This fixes map panning with the mouse when a QGVMapGGView is itself embedded
in another QGraphicsView.
  • Loading branch information
anlambert committed Dec 12, 2024
1 parent fdf1bb5 commit a207463
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion thirdparty/QGeoView/src/QGVMapQGView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ void QGVMapQGView::showMenu(QMouseEvent* event)

bool QGVMapQGView::event(QEvent* event)
{
event->ignore();
if (event->type() == QEvent::ToolTip) {
showTooltip(static_cast<QHelpEvent*>(event));
}
Expand Down

0 comments on commit a207463

Please sign in to comment.