diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-06-21 10:50:24 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-06-21 10:50:24 (GMT) |
commit | 1531db939b31df30d92c95072afdafbed999ffe0 (patch) | |
tree | 9dc9d8460abe5ec1a42814b681cfbb352d537509 /examples | |
parent | 3ea12bbbf794ceb431b182d79267ac2826f25c64 (diff) | |
download | Qt-1531db939b31df30d92c95072afdafbed999ffe0.zip Qt-1531db939b31df30d92c95072afdafbed999ffe0.tar.gz Qt-1531db939b31df30d92c95072afdafbed999ffe0.tar.bz2 |
Allow things that load SameGame to disable the Quit button
If I missed any, just set inAnotherDemo to true on the SameGame root
item.
Task-number: QTBUG-11562
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/modelviews/parallax/parallax.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/declarative/modelviews/parallax/parallax.qml b/examples/declarative/modelviews/parallax/parallax.qml index ec52a24..3b5c70a 100644 --- a/examples/declarative/modelviews/parallax/parallax.qml +++ b/examples/declarative/modelviews/parallax/parallax.qml @@ -73,6 +73,7 @@ Rectangle { width: 300; height: 400 clip: true; source: "../../../../demos/declarative/samegame/samegame.qml" + Component.onCompleted: item.inAnotherDemo = true; } } |