remove unnessary reference to QGuiApplication v5.0.0-rc1
authorJing Bai <jing.bai@digia.com>
Tue, 4 Dec 2012 18:39:01 +0000 (19:39 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 5 Dec 2012 13:33:25 +0000 (14:33 +0100)
commitf291ccc0b160c87308d0845877b3a9dd492dc712
treedcbd7a8d2f49c0dde57bf4dae09fcc0c3ea531eb
parent905537e032095790b4ac1607c5ca0de2ad412476
remove unnessary reference to QGuiApplication

In QDeclarativeEngine initialization,it goes through all types,
including Font in Gui. This causes a crash when using
QDeclarativeEngine with QCoreApplication.

Task-number: QTBUG-28375
Change-Id: Idce2a046db7e52a1c13b8c5c0315e36873f7e27d
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
src/declarative/qml/qdeclarativevaluetype.cpp