QmlEngine: Avoid accessing null pointer
QmlEngine: Avoid accessing null pointer

Change-Id: I41ff4508ae609f481a5a20e4b398e106f2d3093d
Reviewed-by: hjk <4622a3e4640ee19ab4ebad197849e45b7170d50c@theqtcompany.com>

xianian/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,xianian/qt-creator,danimo/qt-creator,danimo/qt-creator,kuba1/qtcreator,danimo/qt-creator,xianian/qt-creator,xianian/qt-creator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,danimo/qt-creator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,danimo/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,danimo/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,xianian/qt-creator