summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-09 06:06:17 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-09 06:06:17 (GMT)
commit782422352f5e2280345054eacd6a001cca164570 (patch)
treed1c19c2bcdc941317aa24a553db04d01b339ca54 /tests
parent173994419413e89e6b1c7ab3cf58dff82f1e5789 (diff)
downloadQt-782422352f5e2280345054eacd6a001cca164570.zip
Qt-782422352f5e2280345054eacd6a001cca164570.tar.gz
Qt-782422352f5e2280345054eacd6a001cca164570.tar.bz2
Compile
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp b/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
index d134750..16086cd 100644
--- a/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
+++ b/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
@@ -890,7 +890,7 @@ void tst_qdeclarativeecmascript::dynamicDestruction()
}
QVERIFY(!createdQmlObject);
- QDeclarativeEngine::setObjectOwnership(object, QDeclarativeEngine::QMLOwnership);
+ QDeclarativeEngine::setObjectOwnership(object, QDeclarativeEngine::JavaScriptOwnership);
QMetaObject::invokeMethod(object, "killMe");
QVERIFY(object);
QTest::qWait(0);