diff options
author | Marco Bubke <marco.bubke@nokia.com> | 2010-09-30 15:23:27 (GMT) |
---|---|---|
committer | Marco Bubke <marco.bubke@nokia.com> | 2010-09-30 15:36:30 (GMT) |
commit | 1f8bb573f06234a3d13fb57de5eb644824d5024f (patch) | |
tree | 70ec86c96c1328f5e1729c9021ef07bd5cddeab9 /demos | |
parent | a1f050fe4217d3a642ab7f4df8e50c21aa51689c (diff) | |
download | Qt-1f8bb573f06234a3d13fb57de5eb644824d5024f.zip Qt-1f8bb573f06234a3d13fb57de5eb644824d5024f.tar.gz Qt-1f8bb573f06234a3d13fb57de5eb644824d5024f.tar.bz2 |
Use setParentItem() instead of setParentItemHelper if componentComplete is true
This ensures that if the component has already been completed, itemChange()
is called. This is required to modify QDeclarativePositions in the visual
editor, while keeping a legal state. Without this patch notifications are
missing and the Positioner keeps track of already deleted children.
This resulted in a crash.
Reviewed-by: Thomas Hartmann
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions