summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeproperty.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-05-23 08:49:19 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2011-05-23 08:49:19 (GMT)
commit565bd12bdc7b73e4222de44699df9904a1cfcd81 (patch)
treef3cb3986a375cb25962dbfe48a065804fc53b686 /src/declarative/qml/qdeclarativeproperty.cpp
parent21711d7ad54b0ee83e776ac3ad83121221fdf24b (diff)
parentf1efb2e8866203cbf95d288ea0ccb1992413c3fc (diff)
downloadQt-565bd12bdc7b73e4222de44699df9904a1cfcd81.zip
Qt-565bd12bdc7b73e4222de44699df9904a1cfcd81.tar.gz
Qt-565bd12bdc7b73e4222de44699df9904a1cfcd81.tar.bz2
Merge remote branch 'qt-qml-review/master' into master-qml-staging
Diffstat (limited to 'src/declarative/qml/qdeclarativeproperty.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeproperty.cpp3
1 files changed, 3 insertions, 0 deletions
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)