Port away from QWheelEvent::orientation()
We are supposed to use QWheelEvent::angleDelta() instead. Upon an horizontal/vertical scroll event, its x()/y() method will return a value different from zero.