QScrollBar: clean up wheelEvent() implementation
authorMarc Mutz <marc.mutz@kdab.com>
Tue, 25 Sep 2012 08:56:40 +0000 (10:56 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 26 Sep 2012 17:07:07 +0000 (19:07 +0200)
commit9b439161ac7e85d7c54a403907d7b18843454f83
treed82379de14a6425c6782e4defa65f19373037fe4
parentaec5b76b51fb1895f275ac4d413cc040cf88d519
QScrollBar: clean up wheelEvent() implementation

This code was moved from the general event() handler.
Remove comments and casting that were necessary there.

Task-number: QTBUG-27308
Reported-by: chenjiexin
Task-number: QTBUG-21534
Reported-by: Martin Koller
Change-Id: I14ef4c6363002032895f6840a7c68c1f5f665384
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/widgets/widgets/qscrollbar.cpp