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:
parent
2202fe5e47
commit
304469cb0a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user