summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/binding
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/binding
parentfab7cd962bc108a0f1f38ba0276aeae4f7f0399d (diff)
downloadQt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.zip
Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.gz
Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.bz2
Compile
Diffstat (limited to 'tests/benchmarks/declarative/binding')
-rw-r--r--tests/benchmarks/declarative/binding/testtypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/binding/testtypes.cpp b/tests/benchmarks/declarative/binding/testtypes.cpp
index 043c8ab..1fc9ccd 100644
--- a/tests/benchmarks/declarative/binding/testtypes.cpp
+++ b/tests/benchmarks/declarative/binding/testtypes.cpp
@@ -42,5 +42,5 @@
void registerTypes()
{
- QML_REGISTER_TYPE(Test, 1, 0, MyQmlObject, MyQmlObject);
+ qmlRegisterType<MyQmlObject>("Test", 1, 0, "MyQmlObject");
}