Port away from deprecated QWheelEvent::delta()
QWheelEvent::angleDelta() returns a QPoint instead of int, so we need to use its y() value to get the number of steps.
Showing
Please register or sign in to comment
QWheelEvent::angleDelta() returns a QPoint instead of int, so we need to use its y() value to get the number of steps.