mirror of
https://github.com/YACReader/yacreader
synced 2025-05-25 18:00:46 -04:00
Use angleDelta instead of delta
This commit is contained in:
parent
986450eb20
commit
4c2d6be1ef
@ -105,7 +105,7 @@ void ComicFlow::keyPressEvent(QKeyEvent *event)
|
||||
|
||||
void ComicFlow::wheelEvent(QWheelEvent *event)
|
||||
{
|
||||
if (event->delta() < 0)
|
||||
if (event->angleDelta().y() < 0)
|
||||
showNext();
|
||||
else
|
||||
showPrevious();
|
||||
|
Loading…
Reference in New Issue
Block a user