Fix QWheelEvent deprecation warning

Nicolas Fella requested to merge work/warn into master

Not that it matters much for Qt6 porting since the code is 5-only, but it avoids a warning

Merge request reports