summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/qdeclarativecomponent
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-17 05:59:46 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-17 05:59:46 (GMT)
commit0a52765f1c7fbd7d5286bcaab32cff35feb89a95 (patch)
treedfe782368fe77de9e1fd4d9bcd463565b6d1ae45 /tests/benchmarks/declarative/qdeclarativecomponent
parentfab7cd962bc108a0f1f38ba0276aeae4f7f0399d (diff)
downloadQt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.zip
Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.gz
Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.bz2
Compile
Diffstat (limited to 'tests/benchmarks/declarative/qdeclarativecomponent')
-rw-r--r--tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp b/tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp
index acdc395..7bc6ca2 100644
--- a/tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp
+++ b/tests/benchmarks/declarative/qdeclarativecomponent/testtypes.cpp
@@ -42,5 +42,5 @@
void registerTypes()
{
- QML_REGISTER_TYPE(Qt.test, 4, 6, MyQmlObject, MyQmlObject);
+ qmlRegisterType<MyQmlObject>("Qt.test", 4, 6, "MyQmlObject");
}