diff options
author | Tim Jenssen <tim.jenssen@nokia.com> | 2012-01-24 15:48:10 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2012-01-24 18:01:51 +0100 |
commit | ce22ca6ae677fa0f8b9ec96b32e3897b252c2670 (patch) | |
tree | 0af5396d806f393819d4cdfdd7770d6d53bc9e75 /examples | |
parent | 79450ce6532ad5567617fab9d8e64512189672b7 (diff) |
Fix crash while deleting components.
To delete it's childs, the component uses qDeleteAll on the childs list,
but once a child get's deleted it removes itself from the calling
components child list and then messes up the list iterators. The child
list passed to qDeleteAll needs to be a deep copy of the list the
component owns to not mess with the original the calliing component holds.
Change-Id: I638ffbb576a9543b7197c8bf267239f31197e274
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions