From 0c2e40683007c9405b8fc9f7efbd728ef519d78f Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Thu, 17 Sep 2009 16:36:47 +1000 Subject: Fix velocity notification. --- src/declarative/fx/qfxflickable.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/declarative/fx/qfxflickable.cpp b/src/declarative/fx/qfxflickable.cpp index c4d593c..5297516 100644 --- a/src/declarative/fx/qfxflickable.cpp +++ b/src/declarative/fx/qfxflickable.cpp @@ -1210,7 +1210,8 @@ void QFxFlickable::movementEnding() void QFxFlickablePrivate::updateVelocity() { Q_Q(QFxFlickable); - emit q->velocityChanged(q->horizontalVelocity(), q->verticalVelocity()); + emit q->horizontalVelocityChanged(); + emit q->verticalVelocityChanged(); } QT_END_NAMESPACE -- cgit v0.12