summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/samegame/samegame4/samegame.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-04-08 07:37:06 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-04-08 07:37:06 (GMT)
commit28605b56271cd3efb78c5f2f51855d2bca56ee6f (patch)
tree3bc0988400d8d8f4dd251c94d20443ecd3f6b150 /examples/declarative/tutorials/samegame/samegame4/samegame.qml
parent3ceffd7287a269ec5ea9dab712ee9120a539e0e1 (diff)
parentbe8a7153d613586d69ac528153a6b8ccbe931aa6 (diff)
downloadQt-28605b56271cd3efb78c5f2f51855d2bca56ee6f.zip
Qt-28605b56271cd3efb78c5f2f51855d2bca56ee6f.tar.gz
Qt-28605b56271cd3efb78c5f2f51855d2bca56ee6f.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Conflicts: examples/declarative/tutorials/samegame/samegame4/content/samegame.js
Diffstat (limited to 'examples/declarative/tutorials/samegame/samegame4/samegame.qml')
-rw-r--r--examples/declarative/tutorials/samegame/samegame4/samegame.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame4/samegame.qml b/examples/declarative/tutorials/samegame/samegame4/samegame.qml
index 8cc2137..59e0cef 100644
--- a/examples/declarative/tutorials/samegame/samegame4/samegame.qml
+++ b/examples/declarative/tutorials/samegame/samegame4/samegame.qml
@@ -1,4 +1,4 @@
-import Qt 4.6
+import Qt 4.7
import "content"
import "content/samegame.js" as SameGame
@@ -23,8 +23,8 @@ Rectangle {
property int tileSize: 40
z: 20; anchors.centerIn: parent
- width: parent.width - (parent.width % getTileSize());
- height: parent.height - (parent.height % getTileSize());
+ width: parent.width - (parent.width % tileSize);
+ height: parent.height - (parent.height % tileSize);
MouseArea {
anchors.fill: parent; onClicked: SameGame.handleClick(mouse.x,mouse.y);