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/webbrowser | |
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/webbrowser')
-rw-r--r-- | demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml | 2 | ||||
-rw-r--r-- | demos/declarative/webbrowser/webbrowser.qml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml b/demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml index f5bfadf..b02a5bf 100644 --- a/demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml +++ b/demos/declarative/webbrowser/content/RetractingWebBrowserHeader.qml @@ -105,7 +105,7 @@ Image { NumberAnimation { targets: header properties: "progressOff" - easing.type: "InOutQuad" + easing.type: Easing.InOutQuad duration: 300 } } diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml index fbbe7b2..f1a6034 100644 --- a/demos/declarative/webbrowser/webbrowser.qml +++ b/demos/declarative/webbrowser/webbrowser.qml @@ -99,7 +99,7 @@ Item { Transition { NumberAnimation { properties: "opacity" - easing.type: "InOutQuad" + easing.type: Easing.InOutQuad duration: 300 } } @@ -155,7 +155,7 @@ Item { Transition { NumberAnimation { properties: "opacity" - easing.type: "InOutQuad" + easing.type: Easing.InOutQuad duration: 320 } } |