Keeping scrollwheel events within the scrollwidget. This allows to use

scrollwheel to roll the widget (e.g. uBlog) and not the whole 
plasma-netbook newspaper screen.


svn path=/trunk/KDE/kdelibs/; revision=1026749
This commit is contained in:
Adenilson Cavalcanti Da Silva 2009-09-22 13:47:24 +00:00
parent 2202fe5e47
commit 304469cb0a

View File

@ -330,7 +330,6 @@ void ScrollWidget::wheelEvent(QGraphicsSceneWheelEvent *event)
{ {
event->accept(); event->accept();
d->wheelReleaseEvent( event ); d->wheelReleaseEvent( event );
QGraphicsWidget::wheelEvent(event);
} }
bool ScrollWidget::eventFilter(QObject *watched, QEvent *event) bool ScrollWidget::eventFilter(QObject *watched, QEvent *event)