forked from qt-creator/qt-creator
This makes sure it gets deleted together with the QmlApplicationViewer, rather than probably not at all when no parent is specified for the viewer (which is the default). Reviewed-by: Alessandro Portale Reviewed-by: Christiaan Janssen