diff --git a/YACReaderLibrary/comic_flow.cpp b/YACReaderLibrary/comic_flow.cpp index 4f56afd8..931aae93 100644 --- a/YACReaderLibrary/comic_flow.cpp +++ b/YACReaderLibrary/comic_flow.cpp @@ -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();