summaryrefslogtreecommitdiffstats
path: root/examples/declarative/modelviews/parallax/parallax.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/modelviews/parallax/parallax.qml')
-rw-r--r--examples/declarative/modelviews/parallax/parallax.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/declarative/modelviews/parallax/parallax.qml b/examples/declarative/modelviews/parallax/parallax.qml
index ec52a24..19eadd0 100644
--- a/examples/declarative/modelviews/parallax/parallax.qml
+++ b/examples/declarative/modelviews/parallax/parallax.qml
@@ -39,12 +39,10 @@
****************************************************************************/
import Qt 4.7
-import "../../toys/clocks/content"
+import "../../toys/clocks/content" // for loading the Clock element
import "qml"
Rectangle {
- id: root
-
width: 320; height: 480
ParallaxView {
@@ -73,9 +71,8 @@ Rectangle {
width: 300; height: 400
clip: true;
source: "../../../../demos/declarative/samegame/samegame.qml"
+ Component.onCompleted: item.inAnotherDemo = true;
}
}
-
- currentIndex: root.currentIndex
}
}