summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/samegame/samegame1/samegame.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-04-08 07:34:37 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-04-08 07:34:37 (GMT)
commit3ceffd7287a269ec5ea9dab712ee9120a539e0e1 (patch)
tree37cc20a4f27584d5871e7a9e77de4f8e48c8764c /examples/declarative/tutorials/samegame/samegame1/samegame.qml
parentdcce90c4d9c8d010d7fc45c33048ff00e468b89c (diff)
downloadQt-3ceffd7287a269ec5ea9dab712ee9120a539e0e1.zip
Qt-3ceffd7287a269ec5ea9dab712ee9120a539e0e1.tar.gz
Qt-3ceffd7287a269ec5ea9dab712ee9120a539e0e1.tar.bz2
Improve example code - rename variables, remove redundant ids.
Diffstat (limited to 'examples/declarative/tutorials/samegame/samegame1/samegame.qml')
-rw-r--r--examples/declarative/tutorials/samegame/samegame1/samegame.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame1/samegame.qml b/examples/declarative/tutorials/samegame/samegame1/samegame.qml
index 006b926..6e3a513 100644
--- a/examples/declarative/tutorials/samegame/samegame1/samegame.qml
+++ b/examples/declarative/tutorials/samegame/samegame1/samegame.qml
@@ -24,7 +24,7 @@ Rectangle {
anchors.bottom: screen.bottom
Button {
- id: btnA; text: "New Game"; onClicked: console.log("Starting a new game...");
+ text: "New Game"; onClicked: console.log("Starting a new game...");
anchors.left: parent.left; anchors.leftMargin: 3
anchors.verticalCenter: parent.verticalCenter
}