summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@qt.io>2016-12-19 16:19:09 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2016-12-27 11:54:41 +0000
commit4f69895cf15b9ff76b9a4404709a28153d34de5e (patch)
treeb5107139e2b0e3b062496bfb0a7328bf9d0a3ef8 /tests/manual
parentf7d7cf58330ea0b2d6687a227c7e7302709ca47f (diff)
Fixed bug in DragHandler when dragging in scaled coordinate system
Calculate the new position in the target items' parent coordinate system in order to not be affected by any transformations applied on the target item. And after all, the item's position is specified in parent coordinates. Also check target() and target()->parentItem() rather than assuming that they are non-null. Change-Id: Ib00c72cce7b324b508884287e4070bedaf02b95e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions