diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-23 05:08:36 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-23 05:08:36 (GMT) |
commit | 718c4ff7e9a9cbf0150c937c1036a03935dda3e1 (patch) | |
tree | 4f81e1b337975de012653152f7c2f59dc609b7cd /examples/declarative/aspectratio | |
parent | d5c1df72cecda0344717224fede54d83b6d5f15b (diff) | |
download | Qt-718c4ff7e9a9cbf0150c937c1036a03935dda3e1.zip Qt-718c4ff7e9a9cbf0150c937c1036a03935dda3e1.tar.gz Qt-718c4ff7e9a9cbf0150c937c1036a03935dda3e1.tar.bz2 |
Fix crash
Diffstat (limited to 'examples/declarative/aspectratio')
-rw-r--r-- | examples/declarative/aspectratio/face_fit_animated.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/aspectratio/face_fit_animated.qml b/examples/declarative/aspectratio/face_fit_animated.qml index 7d73900..9d63e69 100644 --- a/examples/declarative/aspectratio/face_fit_animated.qml +++ b/examples/declarative/aspectratio/face_fit_animated.qml @@ -17,8 +17,8 @@ Rectangle { x: (parent.width-width*scale)/2 y: (parent.height-height*scale)/2 scale: SpringFollow { - source: Math.max(Math.min(Image.parent.width/Image.width*1.333,Image.parent.height/Image.height), - Math.min(Image.parent.width/Image.width,Image.parent.height/Image.height*1.333)) + source: Math.max(Math.min(Face.parent.width/Face.width*1.333,Face.parent.height/Face.height), + Math.min(Face.parent.width/Face.width,Face.parent.height/Face.height*1.333)) spring: 1 damping: 0.05 } |