Fixes a crash in QQuickImageParticle
authorBerthold Krevert <berthold.krevert@basyskom.com>
Fri, 3 Aug 2012 14:56:53 +0000 (16:56 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Aug 2012 09:19:20 +0000 (11:19 +0200)
commit7968bd306d182d244a73682aebdb9e74edbc6304
treeb0ce09131a75ca0505dc50234aa6484b73ef39b8
parent35c8ad7957aed842e1aba60df96e50c5e2dcf133
Fixes a crash in QQuickImageParticle

Fixes this bug: If the property source is set to an empty string or not set at all, the application crashes due to a missing pointer check.

Change-Id: I8c2a2ba738ceda573e655221fde37012f6bf3053
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/particles/qquickimageparticle.cpp