diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-05-05 06:22:51 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-05-05 06:23:55 (GMT) |
commit | f5e3e21e95275a8cf31cddf2063dfa497e92872e (patch) | |
tree | a7a2c41b884f6faeef6678c410006623eb714e23 /demos/declarative/calculator | |
parent | d6597781a658ba9546bc56f4f3079234c0790e1d (diff) | |
download | Qt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.zip Qt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.tar.gz Qt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.tar.bz2 |
Use enum rather than string for easing type.
Diffstat (limited to 'demos/declarative/calculator')
-rw-r--r-- | demos/declarative/calculator/calculator.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/calculator/calculator.qml b/demos/declarative/calculator/calculator.qml index 286a4d1..75f5735 100644 --- a/demos/declarative/calculator/calculator.qml +++ b/demos/declarative/calculator/calculator.qml @@ -98,8 +98,8 @@ Rectangle { transitions: Transition { SequentialAnimation { PropertyAction { target: rotateButton; property: "operation" } - NumberAnimation { properties: "rotation"; duration: 300; easing.type: "InOutQuint" } - NumberAnimation { properties: "x,y,width,height"; duration: 300; easing.type: "InOutQuint" } + NumberAnimation { properties: "rotation"; duration: 300; easing.type: Easing.InOutQuint } + NumberAnimation { properties: "x,y,width,height"; duration: 300; easing.type: Easing.InOutQuint } } } } |