summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/content/ImageDetails.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/flickr/content/ImageDetails.qml')
-rw-r--r--demos/declarative/flickr/content/ImageDetails.qml1
1 files changed, 0 insertions, 1 deletions
diff --git a/demos/declarative/flickr/content/ImageDetails.qml b/demos/declarative/flickr/content/ImageDetails.qml
index b8091f2..ccc91cb 100644
--- a/demos/declarative/flickr/content/ImageDetails.qml
+++ b/demos/declarative/flickr/content/ImageDetails.qml
@@ -89,7 +89,6 @@ Flipable {
// Center image if it is smaller than the flickable area.
x: ImageContainer.width > width*scale ? (ImageContainer.width - width*scale) / 2 : 0
y: ImageContainer.height > height*scale ? (ImageContainer.height - height*scale) / 2 : 0
- anchors.centeredIn: parent
onStatusChanged : {
// Default scale shows the entire image.
if (status == 0 && width != 0) {