From: Aaron Kennedy Date: Mon, 16 May 2011 01:08:38 +0000 (+1000) Subject: Doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=220b2384a5022a786b96cbd8a0fac7c4af5c76fe;p=konrad%2Fqtdeclarative.git Doc Change-Id: I25f1885ef285fb3bd14c1f499b9f42e38bba5ec6 Task-number: QTBUG-19265 (cherry picked from commit 01a374fe8a6ac0b6e374081c07720e77c61effff) --- diff --git a/src/declarative/qml/qdeclarativeproperty.cpp b/src/declarative/qml/qdeclarativeproperty.cpp index 7f74da4..1cd3363 100644 --- a/src/declarative/qml/qdeclarativeproperty.cpp +++ b/src/declarative/qml/qdeclarativeproperty.cpp @@ -183,6 +183,9 @@ QDeclarativeProperty::QDeclarativeProperty(QObject *obj, const QString &name) /*! Creates a QDeclarativeProperty for the property \a name of \a obj using the \l{QDeclarativeContext} {context} \a ctxt. + + Creating a QDeclarativeProperty without a context will render some + properties - like attached properties - inaccessible. */ QDeclarativeProperty::QDeclarativeProperty(QObject *obj, const QString &name, QDeclarativeContext *ctxt) : d(new QDeclarativePropertyPrivate)