From 6ea2d870aac684964b8a83f2beebb892b41243bd Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Tue, 19 Jun 2012 16:18:16 +1000 Subject: [PATCH] Fix snake demo. A surrounding Item {} appeared for no clear reason. Task-number: QTBUG-26198 Change-Id: I1ddb7cc92c5ba977d85d3047c405a90cfe697a13 Reviewed-by: Yunqiao Yin --- examples/demos/snake/snake.qml | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/examples/demos/snake/snake.qml b/examples/demos/snake/snake.qml index efd5747..a8a5bad 100644 --- a/examples/demos/snake/snake.qml +++ b/examples/demos/snake/snake.qml @@ -42,7 +42,7 @@ import QtQuick 2.0 import "content" as Content import "content/snake.js" as Logic -Item{ + Rectangle { id: screen; SystemPalette { id: activePalette } @@ -270,4 +270,3 @@ Rectangle { ] } -} -- 1.7.2.5