summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2014-09-05 16:24:23 +0400
committerShawn Rutledge <shawn.rutledge@digia.com>2014-09-08 15:35:40 +0200
commitf3cee50216b066dc204ab4482d329f4ff988b1e2 (patch)
treee8d53db0ef34b42a7ce005e1bb37f370808856d9 /tests
parent289e9af668df8b9f869ee42e295b582f246d6e32 (diff)
Fix a conversion of coordinates of a TouchBegin event
To convert coordinates to a parent's coordinate system one should translate them by an offset of a child widget relative to it's parent widget. QRect::moveCenter() doesn't translate, it sets the coordinates of the touch point's center to this offset. Change-Id: I9d823784803bd1448c0d665944090674d3ff518b Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions