If the sample hasn't been loaded, don't try and delete things.

Causes entirely reasonable warnings from QCoreApplication::postEvents,
when calling deleteLater on a null pointer.

Change-Id: I5f1fa526b2d57844b9c0d2e634d434e2f7867bdf
Reviewed-by: Ling Hu <ling.hu@nokia.com>
This commit is contained in:
Michael Goddard
2011-11-18 12:30:42 +10:00
committed by Qt Continuous Integration System
parent b279b5e280
commit f2237b2e66

Diff Content Not Available