Initialize lastPos
authorAlbert Astals Cid <albert.astals@canonical.com>
Thu, 25 Apr 2013 10:41:44 +0000 (12:41 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 26 Apr 2013 08:49:36 +0000 (10:49 +0200)
commit331f60cab07d8d9d089fc080790c19a367f305c2
tree357aadb6f0668a766334e49c9ef50847b08c0e23
parenta32ee8627348317befa455537c2437805ff14e0e
Initialize lastPos

I was valgrinding a scene with a flickable and i come to see
that in some ocassions we use lastPos before initializing it
in QQuickFlickablePrivate::viewportAxisMoved

Change-Id: Ibfeeefc00f62493163d5d44f676bec79a4c004c2
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
src/quick/items/qquickflickable_p_p.h