summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativedom
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 05:27:55 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 06:30:49 (GMT)
commit02d0f442177d7f232dc98ac9ee58c70c3e09c086 (patch)
tree9c328caf58b448150f9f1609fedf9644f874e720 /tests/auto/declarative/qdeclarativedom
parentfda3e9d3e36e95392ad0882b445bb004001b9688 (diff)
downloadQt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.zip
Qt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.tar.gz
Qt-02d0f442177d7f232dc98ac9ee58c70c3e09c086.tar.bz2
Renamed 'source' property from SpringFollow to 'to'
Diffstat (limited to 'tests/auto/declarative/qdeclarativedom')
-rw-r--r--tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
index e8bbb86..cd732b6 100644
--- a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
+++ b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
@@ -274,7 +274,7 @@ void tst_qdeclarativedom::loadComposite()
void tst_qdeclarativedom::testValueSource()
{
QByteArray qml = "import Qt 4.6\n"
- "Rectangle { SpringFollow on height { spring: 1.4; damping: .15; source: Math.min(Math.max(-130, value*2.2 - 130), 133); }}";
+ "Rectangle { SpringFollow on height { spring: 1.4; damping: .15; to: Math.min(Math.max(-130, value*2.2 - 130), 133); }}";
QDeclarativeEngine freshEngine;
QDeclarativeDomDocument document;