summaryrefslogtreecommitdiffstats
path: root/demos/chip/view.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@nokia.com>2010-09-30 15:23:27 (GMT)
committerMarco Bubke <marco.bubke@nokia.com>2010-09-30 15:36:30 (GMT)
commit1f8bb573f06234a3d13fb57de5eb644824d5024f (patch)
tree70ec86c96c1328f5e1729c9021ef07bd5cddeab9 /demos/chip/view.cpp
parenta1f050fe4217d3a642ab7f4df8e50c21aa51689c (diff)
downloadQt-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/chip/view.cpp')
0 files changed, 0 insertions, 0 deletions