From db0940090853f316ed968a8220be32c59757225c Mon Sep 17 00:00:00 2001 From: artoka Date: Thu, 17 Nov 2011 15:50:20 +0100 Subject: demos/declarative/snake example corrections Removed empty lines from snake.qml and Cookie.qml Merge-request: 2719 Reviewed-by: Casper van Donderen --- demos/declarative/snake/qml/snake/content/Cookie.qml | 2 -- demos/declarative/snake/qml/snake/snake.qml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/demos/declarative/snake/qml/snake/content/Cookie.qml b/demos/declarative/snake/qml/snake/content/Cookie.qml index cef195a..72af41f 100644 --- a/demos/declarative/snake/qml/snake/content/Cookie.qml +++ b/demos/declarative/snake/qml/snake/content/Cookie.qml @@ -67,7 +67,6 @@ Item { } } - Particles { id: particles width:1; height:1; anchors.centerIn: parent; emissionRate: 0; @@ -91,5 +90,4 @@ Item { NumberAnimation { target: img; property: "opacity"; duration: 100 } } ] - } diff --git a/demos/declarative/snake/qml/snake/snake.qml b/demos/declarative/snake/qml/snake/snake.qml index 3d6b772..edccd4c 100644 --- a/demos/declarative/snake/qml/snake/snake.qml +++ b/demos/declarative/snake/qml/snake/snake.qml @@ -76,7 +76,7 @@ Rectangle { Timer { id: heartbeat; interval: heartbeatInterval; - running: activeGame //&& runtime.isActiveWindow + running: activeGame && runtime.isActiveWindow repeat: true onTriggered: { Logic.move() } } -- cgit v0.12