Skip to content
Snippets Groups Projects
Commit 825e6614 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

silence QWheelEvent deprecation warning - delta() => angleDelta().y()

angleDelta() returns QPoint as opposed to int from delta() as it
differentiates between vertical and horizontal mouse wheel.
To reproduce the classic Zoom behaviour, we're accessing the
horizontal wheel => y()
parent 2b806656
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment