mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Use angleDelta
pixelDelta is only provided in systems that support it
This commit is contained in:
@ -195,7 +195,7 @@ void GoToFlow::updateImageData()
|
||||
|
||||
void GoToFlow::wheelEvent(QWheelEvent *event)
|
||||
{
|
||||
if (event->pixelDelta().y() < 0)
|
||||
if (event->angleDelta().y() < 0)
|
||||
flow->showNext();
|
||||
else
|
||||
flow->showPrevious();
|
||||
|
Reference in New Issue
Block a user