Go to file
Jocelyn Turcotte 09cad13e49 Fix TouchPoint::lastPos() after TouchPointStationary only events.
lastPos is copied from the last point's position, and the position has
to be resolved according the the receiving item's transformation.

However, if a QTouchEvent contains only stationary points, it won't be
delivered, it's pos()/rect() will still be uninitialized, and the
touch point of the next event will be delivered with the uninitialized
pos() as it's lastPos().

This patch makes sure that the lastPos() won't be filled with a
previous incomplete stationary point state even if the platform is
sending us stationary-point-only touch events.

Change-Id: Ia7d10423c8fbe78348edbb0a89fbfa66d1b8b5d1
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
2011-10-17 18:03:13 +02:00
bin Prevent 'Argument "" isn't numeric' warning when module version is missing 2011-10-11 13:25:40 +02:00
config.tests Fix build on Harmattan when cross-compiling 2011-10-13 12:57:26 +02:00
dist Rename QMetaType::construct() to create() 2011-10-11 16:01:45 +02:00
doc/src Add documentation from qtdoc for modularization of docs. 2011-10-17 13:31:45 +02:00
examples Clean-up a macro for Cocoa 2011-10-10 07:47:58 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Fixed CONFIG+=declarative_debug with QT+=declarative-private 2011-10-11 05:26:32 +02:00
qmake qmake: fix incrementalLinker option writing for vcxproj 2011-10-14 19:42:32 +02:00
src Fix TouchPoint::lastPos() after TouchPointStationary only events. 2011-10-17 18:03:13 +02:00
tests Prefer QSKIP to QTEST_NOOP_MAIN. 2011-10-17 10:30:04 +02:00
tools Use freetype font engine on Windows 2011-10-10 13:17:44 +02:00
util Move the documentation for the classes to their modules. 2011-10-03 09:56:09 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Update .gitignore 2011-10-03 05:58:44 +02:00
.gitmodules Add QtV8 library to QtBase 2011-08-29 10:16:01 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Do not unconditionally use pkg-config in .pro files 2011-10-12 18:01:19 +02:00
configure.exe New configure.exe binary 2011-09-05 08:55:31 +02:00
header.BSD Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
header.FDL Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
header.LGPL Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
header.LGPL-ONLY Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
INSTALL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Fix make confclean 2011-09-12 16:03:47 +02:00
sync.profile Remove uilib and QtUiTools from QtBase 2011-09-13 20:11:40 +02:00