summaryrefslogtreecommitdiffstats
path: root/examples/declarative/modelviews/parallax/parallax.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-06-21 05:37:41 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-06-22 01:22:35 (GMT)
commitc8968fd143e079d4d2b79c88132caaffbefedd7d (patch)
treeb16577cba1077738e8095c0ddb8faca20a17b1fb /examples/declarative/modelviews/parallax/parallax.qml
parentd9e49c4399e506c878ce5125d4edcf384b867b26 (diff)
downloadQt-c8968fd143e079d4d2b79c88132caaffbefedd7d.zip
Qt-c8968fd143e079d4d2b79c88132caaffbefedd7d.tar.gz
Qt-c8968fd143e079d4d2b79c88132caaffbefedd7d.tar.bz2
Clean up some examples
Diffstat (limited to 'examples/declarative/modelviews/parallax/parallax.qml')
-rw-r--r--examples/declarative/modelviews/parallax/parallax.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/declarative/modelviews/parallax/parallax.qml b/examples/declarative/modelviews/parallax/parallax.qml
index 3b5c70a..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 {
@@ -76,7 +74,5 @@ Rectangle {
Component.onCompleted: item.inAnotherDemo = true;
}
}
-
- currentIndex: root.currentIndex
}
}