Skip to content

Commit

Permalink
fixup! QMouseEvent.x/y is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Jan 29, 2024
1 parent 36cc582 commit 0540042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz/viewport_mouse_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ViewportMouseEvent
: panel(p)
, viewport(vp)
, type(e->type())
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
, x(e->position().x())
, y(e->position().y())
#else
Expand Down

0 comments on commit 0540042

Please sign in to comment.