aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-12-16 17:05:21 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-12-16 17:05:21 +0100
commit13e88fe2b9b1680cb161a249289c3ba998f08c0c (patch)
tree496a9d88c69b441e8c88aa0416b327faca3a1532 /examples/quick
parenta2dad3ddee9c4bf274a7c6469342e4104605ceeb (diff)
parent470ba767663e4ad9d3183fb56ee89361354dfefb (diff)
Merge remote-tracking branch 'origin/stable' into dev
Conflicts: src/quick/items/qquickitem.cpp src/quick/items/qquicktext.cpp tests/auto/quick/qquicklistview/tst_qquicklistview.cpp Change-Id: I0bc5786098193c2c40b6fd8905de75d90f6ed0cf
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/demos/maroon/maroon.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/quick/demos/maroon/maroon.qml b/examples/quick/demos/maroon/maroon.qml
index 34f345f0e7..c6150a5b95 100644
--- a/examples/quick/demos/maroon/maroon.qml
+++ b/examples/quick/demos/maroon/maroon.qml
@@ -47,7 +47,7 @@ Item {
id: root
width: 320
height: 480
- property var gameState: Logic.newGameState(canvas);
+ property var gameState
property bool passedSplash: false
Image {
@@ -230,4 +230,6 @@ Item {
transitions: Transition {
NumberAnimation { properties: "x,y"; duration: 1200; easing.type: Easing.OutQuad }
}
+
+ Component.onCompleted: gameState = Logic.newGameState(canvas);
}