Commit 6b3b4753 authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia
Browse files

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: default avatarMichael Brasser <michael.brasser@nokia.com>
parent 318f15e3
No related merge requests found
Showing with 1 addition and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment