summaryrefslogtreecommitdiffstats
path: root/demos/declarative/snake/snake.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/snake/snake.qml')
-rw-r--r--demos/declarative/snake/snake.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/snake/snake.qml b/demos/declarative/snake/snake.qml
index 68c2b78..47bced4 100644
--- a/demos/declarative/snake/snake.qml
+++ b/demos/declarative/snake/snake.qml
@@ -1,4 +1,4 @@
-import Qt 4.6
+import Qt 4.7
import "content" as Content
import "content/snake.js" as Logic
@@ -24,7 +24,7 @@ Rectangle {
property int direction
property int headDirection
- property var head;
+ property variant head;
Content.HighScoreModel {
id: highScores