Update item position in parent change atomically.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 28 Feb 2012 07:29:40 +0000 (17:29 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Mar 2012 05:47:10 +0000 (06:47 +0100)
commit6b3b47539967722ee18d072c004e96ba1acb3234
treecd2104b9c48482e8e05a4c90f8466fb9b3a53b2d
parent318f15e3d379f41c2fd74d1b801586e572f3affd
Update item position in parent change atomically.

Changing x and y individually generates two geometry changed events,
the first of which has an invalid position as the x coordinate is
relative to the new parent and the y relative to the old parent.

This in turn causes the Drag item to send move events with incorrect
positions.

Task-number: QTBUG-24534
Change-Id: If2636a968acc0fffce21d1a7e51510426ace38a0
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/quick/items/qquickstateoperations.cpp