diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-05-18 01:42:46 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-05-18 02:29:06 (GMT) |
commit | 54c6a0101ba2bf3910126c53738e337712e5bb9a (patch) | |
tree | b7aa9899ced985de5e89d3f70b4ef79abb3c61f4 /tests/auto/declarative/qdeclarativecontext | |
parent | 96d5029126707771a3b956e6db0391ae7d619853 (diff) | |
download | Qt-54c6a0101ba2bf3910126c53738e337712e5bb9a.zip Qt-54c6a0101ba2bf3910126c53738e337712e5bb9a.tar.gz Qt-54c6a0101ba2bf3910126c53738e337712e5bb9a.tar.bz2 |
Add parent parameter to QDeclarativeExpression constructor.
Also rearrange the parameter order to be more clear.
Diffstat (limited to 'tests/auto/declarative/qdeclarativecontext')
-rw-r--r-- | tests/auto/declarative/qdeclarativecontext/tst_qdeclarativecontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativecontext/tst_qdeclarativecontext.cpp b/tests/auto/declarative/qdeclarativecontext/tst_qdeclarativecontext.cpp index 851460f..7f0e6c0 100644 --- a/tests/auto/declarative/qdeclarativecontext/tst_qdeclarativecontext.cpp +++ b/tests/auto/declarative/qdeclarativecontext/tst_qdeclarativecontext.cpp @@ -398,7 +398,7 @@ void tst_qdeclarativecontext::destruction() QObject obj; QDeclarativeEngine::setContextForObject(&obj, ctxt); - QDeclarativeExpression expr(ctxt, "a", 0); + QDeclarativeExpression expr(ctxt, 0, "a"); QCOMPARE(ctxt, QDeclarativeEngine::contextForObject(&obj)); QCOMPARE(ctxt, expr.context()); |