Skip to content

Conversation

@oscar-lima
Copy link

event.delta() function is deprecated in qt5, now event.angleDelta().y() needs to be used.
We keep backwards compatibility for qt4.

check: https://stackoverflow.com/questions/48379373/attributeerror-qwheelevent-object-has-no-attribute-delta

"Qt4 had a delta attribute in the class QWheelEvent but now in Qt5 this has been replaced by two different properties angleDelta and pixelDelta"

@oscar-lima oscar-lima changed the base branch from indigo-devel to kinetic-devel December 8, 2018 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant