summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/mobile/ImageDetails.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-02 07:00:14 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-09-02 07:00:14 (GMT)
commit5455a16f49e8d36e604705c14c842c8a4e1b4f1f (patch)
tree60e0fbdb2d2ab5109fb3327968b84681d433b73a /demos/declarative/flickr/mobile/ImageDetails.qml
parent2fc0161b46597bf64a8f88f027f3b98a021a8242 (diff)
downloadQt-5455a16f49e8d36e604705c14c842c8a4e1b4f1f.zip
Qt-5455a16f49e8d36e604705c14c842c8a4e1b4f1f.tar.gz
Qt-5455a16f49e8d36e604705c14c842c8a4e1b4f1f.tar.bz2
Disallow using typenames as ids
This is now illegal: import Qt 4.6 Item { id: Item } as is import Qt 4.6 Item { id: Text }
Diffstat (limited to 'demos/declarative/flickr/mobile/ImageDetails.qml')
-rw-r--r--demos/declarative/flickr/mobile/ImageDetails.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/flickr/mobile/ImageDetails.qml b/demos/declarative/flickr/mobile/ImageDetails.qml
index 5f16a24..617fe40 100644
--- a/demos/declarative/flickr/mobile/ImageDetails.qml
+++ b/demos/declarative/flickr/mobile/ImageDetails.qml
@@ -19,7 +19,7 @@ Flipable {
signal closed
transform: Rotation {
- id: Rotation
+ id: ItemRotation
origin.x: Container.width / 2;
axis.y: 1; axis.z: 0
}
@@ -116,7 +116,7 @@ Flipable {
states: State {
name: "Back"
- PropertyChanges { target: Rotation; angle: 180 }
+ PropertyChanges { target: ItemRotation; angle: 180 }
}
transitions: Transition {