diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-11-24 13:36:56 (GMT) |
---|---|---|
committer | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-11-24 13:38:01 (GMT) |
commit | 6c26664447f27f83e05eec3fd2e30c74796150c1 (patch) | |
tree | ab066358551b165f3d3b1b96bd0f5d4ec9a215fa /examples | |
parent | 2b9b72274623e77e14514f7b4488d59f42525936 (diff) | |
download | Qt-6c26664447f27f83e05eec3fd2e30c74796150c1.zip Qt-6c26664447f27f83e05eec3fd2e30c74796150c1.tar.gz Qt-6c26664447f27f83e05eec3fd2e30c74796150c1.tar.bz2 |
Update documentation for QML examples.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/animation/states/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/declarative/animation/states/main.cpp b/examples/declarative/animation/states/main.cpp index 511f00e..4549051 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(); |