mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Update QWheelEvent delta usage
This commit is contained in:
@ -195,7 +195,7 @@ void GoToFlow::updateImageData()
|
||||
|
||||
void GoToFlow::wheelEvent(QWheelEvent *event)
|
||||
{
|
||||
if (event->delta() < 0)
|
||||
if (event->pixelDelta().y() < 0)
|
||||
flow->showNext();
|
||||
else
|
||||
flow->showPrevious();
|
||||
|
Reference in New Issue
Block a user