Doc: Clarify object ownership of QObject* returned by QmlComponent::create
authorKai Koehne <kai.koehne@digia.com>
Thu, 6 Jun 2013 13:18:57 +0000 (15:18 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Jun 2013 08:24:06 +0000 (10:24 +0200)
commitb1ee75d377fc9517d67047c8fe6929c49cc4bd01
tree7035437a87b8279f52f83de59a4a3437546660a4
parente988998a08b1420ed10bd02d9d4b3b8ed2289df9
Doc: Clarify object ownership of QObject* returned by QmlComponent::create

Link to relevant section in QQmlEngine::ObjectOwnership. It's a big gotcha
that a QObject * returned by a Qt method won't be deleted eventually, by
default.

Change-Id: I2367b7ae2673adc7fa181b759c79683091020462
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/qml/qml/qqmlcomponent.cpp