summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/script
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/script
parentfab7cd962bc108a0f1f38ba0276aeae4f7f0399d (diff)
downloadQt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.zip
Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.gz
Qt-0a52765f1c7fbd7d5286bcaab32cff35feb89a95.tar.bz2
Compile
Diffstat (limited to 'tests/benchmarks/declarative/script')
-rw-r--r--tests/benchmarks/declarative/script/tst_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/script/tst_script.cpp b/tests/benchmarks/declarative/script/tst_script.cpp
index 9dd4076..8ea6dcd 100644
--- a/tests/benchmarks/declarative/script/tst_script.cpp
+++ b/tests/benchmarks/declarative/script/tst_script.cpp
@@ -144,7 +144,7 @@ int TestObject::x()
void tst_script::initTestCase()
{
- QML_REGISTER_TYPE(Qt.test, 1, 0, TestObject, TestObject);
+ qmlRegisterType<TestObject>("Qt.test", 1, 0, "TestObject");
}