summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qbindablemap/tst_qbindablemap.cpp
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-04-23 04:32:42 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-04-23 04:32:42 (GMT)
commite5996710736d7934cf64484aa43a1014836b6d20 (patch)
tree96ce4c3fbb47c165df18230c1a1e9ae73d14f718 /tests/auto/declarative/qbindablemap/tst_qbindablemap.cpp
parent6ca809d76909f8beabc2a6cddc4aa01f0c9863af (diff)
parentccb43676bbe2f787eec90812e7f5af06f1bc3857 (diff)
downloadQt-e5996710736d7934cf64484aa43a1014836b6d20.zip
Qt-e5996710736d7934cf64484aa43a1014836b6d20.tar.gz
Qt-e5996710736d7934cf64484aa43a1014836b6d20.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'tests/auto/declarative/qbindablemap/tst_qbindablemap.cpp')
-rw-r--r--tests/auto/declarative/qbindablemap/tst_qbindablemap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qbindablemap/tst_qbindablemap.cpp b/tests/auto/declarative/qbindablemap/tst_qbindablemap.cpp
index 9519382..da58857 100644
--- a/tests/auto/declarative/qbindablemap/tst_qbindablemap.cpp
+++ b/tests/auto/declarative/qbindablemap/tst_qbindablemap.cpp
@@ -58,7 +58,7 @@ void tst_QBindableMap::changed()
//make changes in QML
QmlEngine engine;
QmlContext *ctxt = engine.rootContext();
- ctxt->setProperty("data", &map);
+ ctxt->setContextProperty(QLatin1String("data"), &map);
QmlComponent component(&engine, "<Script script=\"data.key1 = 'Hello World';\"/>");
component.create();
QCOMPARE(spy.count(), 1);