Fix drag velocity smoothing in QScroller.
authorRobert Griebl <robert.griebl@nokia.com>
Tue, 7 Dec 2010 13:29:59 +0000 (14:29 +0100)
committerRobert Griebl <robert.griebl@nokia.com>
Wed, 15 Dec 2010 17:47:34 +0000 (18:47 +0100)
commit3e0df49f978933b1e4e6b48c695bf813ec9a2828
treef221060111eae2702fbcee06d20b2bf773d5d0cf
parent32d200da9cc7a4dfb3f302f22ef5718a286845c9
Fix drag velocity smoothing in QScroller.

The algorithm used for smoothing the drag velocity was wrong in many ways.

Reviewed-by: Ralf Engels
examples/scroller/plot/settingswidget.cpp
src/gui/util/qscroller.cpp
src/gui/util/qscrollerproperties.cpp