mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Use angleDelta instead of delta
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user