summaryrefslogtreecommitdiffstats
path: root/src/plugins/codecs/jp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-08-13 10:23:46 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-13 11:01:11 (GMT)
commit5dedcd3c4cac993949295d109804a8f7cc3a5b0a (patch)
tree5360222870be25a222bd1f3f61129c510e2e93b9 /src/plugins/codecs/jp
parentee62807198a2525577c14f718b98d07ae0ec7bec (diff)
downloadQt-5dedcd3c4cac993949295d109804a8f7cc3a5b0a.zip
Qt-5dedcd3c4cac993949295d109804a8f7cc3a5b0a.tar.gz
Qt-5dedcd3c4cac993949295d109804a8f7cc3a5b0a.tar.bz2
diagramscene example: fix leak and crashes.
In MainWindow::deleteItem, if there is arrow selected, we need to clean up the items from this arrow. We need to delete them first so there is no arrow in the list anymore when we calls removeArrows (which before, deleted arrow that were possibly in the list, resulting in crashes) Also avoid leak by giving parents to objects that needs it, and destroying items. Reviewed-by: Geir Vattekar Task-number: QTBUG-12753
Diffstat (limited to 'src/plugins/codecs/jp')
0 files changed, 0 insertions, 0 deletions