Ensure QQuickView's engine outlives the root component
authorMatthew Vogt <matthew.vogt@nokia.com>
Wed, 23 May 2012 22:55:39 +0000 (08:55 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 23 May 2012 23:12:44 +0000 (01:12 +0200)
commitf9f00b3fb64809b7bc52e220a995536e0bd91af6
tree04f35d5630257f1f822879ffe9604b97031957bb
parente574e9adcac1244db5c828575553a63ccbdd28b9
Ensure QQuickView's engine outlives the  root component

If the engine is destroyed before the root component, assumptions of
resource availability are broken.

Change-Id: I7fe27ff38ae3c215d58fb8811aff449b6c1f7b5b
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickview.cpp