summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-11-24 14:36:56 +0100
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-11-24 14:38:01 +0100
commit6c26664447f27f83e05eec3fd2e30c74796150c1 (patch)
treeab066358551b165f3d3b1b96bd0f5d4ec9a215fa /examples
parent2b9b72274623e77e14514f7b4488d59f42525936 (diff)
Update documentation for QML examples.
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/animation/states/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/declarative/animation/states/main.cpp b/examples/declarative/animation/states/main.cpp
index 511f00ec13..4549051ccd 100644
--- a/examples/declarative/animation/states/main.cpp
+++ b/examples/declarative/animation/states/main.cpp
@@ -47,6 +47,9 @@ int main(int argc, char *argv[])
QmlApplicationViewer viewer;
viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
+
+ //Uncomment the following line to open the states.qml example and comment the transitions.qml line.
+ //viewer.setMainQmlFile(QLatin1String("qml/states/states.qml"));
viewer.setMainQmlFile(QLatin1String("qml/states/transitions.qml"));
viewer.showExpanded();