You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-construct/libs/qt-x11-free/files/0061-qscrollview-propagate-...

24 lines
965 B

qt-bugs@ issue : N64978
applied: no
author: Germain Garand <germain@ebooksfrance.org>
In QScrollView, wheel events are forwarded to (viewport|contents)WheelEvent, but
the horizontal/vertical status of the wheel event is not.
Index: src/widgets/qscrollview.cpp
===================================================================
RCS file: /home/kde/qt-copy/src/widgets/qscrollview.cpp,v
retrieving revision 1.65
diff -u -3 -p -r1.65 qscrollview.cpp
--- work/qt-x11-free-3.3.8/src/widgets/qscrollview.cpp 29 Apr 2004 22:31:28 -0000 1.65
+++ work/qt-x11-free-3.3.8/src/widgets/qscrollview.cpp 25 Jan 2005 12:07:04 -0000
@@ -1863,7 +1863,7 @@ void QScrollView::viewportWheelEvent( QW
the event itself.
*/
QWheelEvent ce( viewportToContents(e->pos()),
- e->globalPos(), e->delta(), e->state());
+ e->globalPos(), e->delta(), e->state(), e->orientation());
contentsWheelEvent(&ce);
if ( ce.isAccepted() )
e->accept();