diff options
Diffstat (limited to 'demos/declarative/flickr/flickr2.qml')
-rw-r--r-- | demos/declarative/flickr/flickr2.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/flickr/flickr2.qml b/demos/declarative/flickr/flickr2.qml index 0bdbaaf..d9b1f60 100644 --- a/demos/declarative/flickr/flickr2.qml +++ b/demos/declarative/flickr/flickr2.qml @@ -99,12 +99,12 @@ Item { transitions: [ Transition { - fromState: "*"; toState: "Details" + from: "*"; to: "Details" ParentAction { } NumberAnimation { properties: "x,y,scale,opacity,angle"; duration: 500; easing: "easeInOutQuad" } }, Transition { - fromState: "Details"; toState: "*" + from: "Details"; to: "*" SequentialAnimation { ParentAction { } NumberAnimation { properties: "x,y,scale,opacity,angle"; duration: 500; easing: "easeInOutQuad" } @@ -140,7 +140,7 @@ Item { ] transitions: [ Transition { - toState: "pathView" + to: "pathView" SequentialAnimation { PropertyAction { target: Wrapper; property: "moveToParent" } ParallelAnimation { @@ -156,7 +156,7 @@ Item { } }, Transition { - toState: "gridView" + to: "gridView" SequentialAnimation { PauseAnimation { duration: Math.floor(index/7)*100 } PropertyAction { target: Wrapper; property: "moveToParent" } |