diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-01-14 04:03:39 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-01-14 04:03:39 (GMT) |
commit | 93512cc3a615e91a5ef9ed96361d93cc13d7fb6e (patch) | |
tree | 993d3e1b357e1991a05c170436820169b0fea322 /tests/auto/declarative/anchors | |
parent | 57d7eef906df1ed82b9722e93cb58420460684ed (diff) | |
download | Qt-93512cc3a615e91a5ef9ed96361d93cc13d7fb6e.zip Qt-93512cc3a615e91a5ef9ed96361d93cc13d7fb6e.tar.gz Qt-93512cc3a615e91a5ef9ed96361d93cc13d7fb6e.tar.bz2 |
compile
Diffstat (limited to 'tests/auto/declarative/anchors')
-rw-r--r-- | tests/auto/declarative/anchors/tst_anchors.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/anchors/tst_anchors.cpp b/tests/auto/declarative/anchors/tst_anchors.cpp index 4a51861..9e8024b 100644 --- a/tests/auto/declarative/anchors/tst_anchors.cpp +++ b/tests/auto/declarative/anchors/tst_anchors.cpp @@ -207,7 +207,8 @@ void tst_anchors::illegalSets() QTest::ignoreMessage(QtWarningMsg, warning.toLatin1()); QmlEngine engine; - QmlComponent component(&engine, QByteArray("import Qt 4.6\n" + qml.toUtf8()), QUrl("file://")); + QmlComponent component(&engine); + component.setData(QByteArray("import Qt 4.6\n" + qml.toUtf8()), QUrl("file://")); if (!component.isReady()) qWarning() << "Test errors:" << component.errors(); QVERIFY(component.isReady()); |