diff options
author | Topi Reinio <topi.reinio@digia.com> | 2013-12-03 17:25:41 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-04 11:21:51 +0100 |
commit | d5fd163f325329de5361a3f0018e23ff342d73a1 (patch) | |
tree | c5f72eca6916439c64b4a6420d87a3247f105bcb /examples/quick/demos/maroon | |
parent | 5006158e4d20ac35d64bc7a581c9966401254002 (diff) |
Fix binding loop in Maroon in Trouble QML demo
Task-number: QTBUG-35210
Change-Id: I44bd9f19acba5b59711aa4ca3d2b12c246afcc59
Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Reviewed-by: Sebastian Wozny <swozny@blackberry.com>
Diffstat (limited to 'examples/quick/demos/maroon')
-rw-r--r-- | examples/quick/demos/maroon/maroon.qml | 4 |
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); } |