summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 04:11:52 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 04:22:27 (GMT)
commit9c147ba5e39dffea91d492896cc836529715d7ac (patch)
tree4f23a5071065f65e68ee95261549f31416c66111 /tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
parent02248947be750a44ebcc6c765fb4d0434bbf8c96 (diff)
downloadQt-9c147ba5e39dffea91d492896cc836529715d7ac.zip
Qt-9c147ba5e39dffea91d492896cc836529715d7ac.tar.gz
Qt-9c147ba5e39dffea91d492896cc836529715d7ac.tar.bz2
Remove QDeclarativeMetaProperty::createProperty() method
The behavior of createProperty() (to resolve dot properties) is now the behavior of the constructors.
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
index ae07112..2907757 100644
--- a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
+++ b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
@@ -747,7 +747,7 @@ void tst_qdeclarativelanguage::valueTypes()
// ###
#if 0
- QDeclarativeMetaProperty p = QDeclarativeMetaProperty::createProperty(object, "rectProperty.x");
+ QDeclarativeMetaProperty p(object, "rectProperty.x");
QCOMPARE(p.read(), QVariant(12));
p.write(13);
QCOMPARE(p.read(), QVariant(13));