summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativestates
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-11 03:05:01 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-11 03:05:01 (GMT)
commit09dc1b3386eb60d7d9f2d644fe114c1daa595049 (patch)
treed72e0f5652c215cf6b796232643399eda3e8ec3d /tests/auto/declarative/qdeclarativestates
parentc62cd5347adda26a68b3a2a67e04a38c0e8626fe (diff)
downloadQt-09dc1b3386eb60d7d9f2d644fe114c1daa595049.zip
Qt-09dc1b3386eb60d7d9f2d644fe114c1daa595049.tar.gz
Qt-09dc1b3386eb60d7d9f2d644fe114c1daa595049.tar.bz2
Compile fix after e5922ab126f3532483b18720ce893d6be826d50e
Diffstat (limited to 'tests/auto/declarative/qdeclarativestates')
-rw-r--r--tests/auto/declarative/qdeclarativestates/tst_qdeclarativestates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativestates/tst_qdeclarativestates.cpp b/tests/auto/declarative/qdeclarativestates/tst_qdeclarativestates.cpp
index 8d3ca7a..eb0e2bd 100644
--- a/tests/auto/declarative/qdeclarativestates/tst_qdeclarativestates.cpp
+++ b/tests/auto/declarative/qdeclarativestates/tst_qdeclarativestates.cpp
@@ -110,7 +110,7 @@ private slots:
void tst_qdeclarativestates::initTestCase()
{
- QML_REGISTER_TYPE(Qt.test, 1, 0, MyRectangle,MyRect);
+ qmlRegisterType<MyRect>("Qt.test", 1, 0, "MyRectangle");
}
QByteArray tst_qdeclarativestates::fullDataPath(const QString &path)