Avoid crash on exit
authorAlan Alpert <alan.alpert@nokia.com>
Mon, 4 Jul 2011 04:51:24 +0000 (14:51 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 4 Jul 2011 05:00:04 +0000 (07:00 +0200)
commit87822d24df32311a50dc87ded55ad4d17e8226f0
treebb2bd968c5316e014ef035cb2a9099ff278c5dbe
parent5b84efd6c321b9e7ffb850bae3eebb8325eac725
Avoid crash on exit

QSParticlePainter could call QSGItem::mapFromItem while the scene was
being destroyed.

Change-Id: If9356dae6aadf97b853c2aaf51870751bbbab711
Reviewed-on: http://codereview.qt.nokia.com/1023
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones
src/declarative/particles/qsgparticlepainter.cpp