summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/advtutorial2.qdoc
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-25 06:28:38 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-25 06:28:38 (GMT)
commitb74e226c09bc37043a06b24029e0e22e4f3cdd16 (patch)
tree11bd335cd176eac754c5ea5af8ae41cec74d22c0 /doc/src/declarative/advtutorial2.qdoc
parent1c9dcb09b79d77bc7d4958e1393437597892bb0b (diff)
downloadQt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.zip
Qt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.tar.gz
Qt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.tar.bz2
Small doc fixes.
Diffstat (limited to 'doc/src/declarative/advtutorial2.qdoc')
-rw-r--r--doc/src/declarative/advtutorial2.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/declarative/advtutorial2.qdoc b/doc/src/declarative/advtutorial2.qdoc
index 40a760d..dcc7c70 100644
--- a/doc/src/declarative/advtutorial2.qdoc
+++ b/doc/src/declarative/advtutorial2.qdoc
@@ -93,7 +93,7 @@ To hook this code up to the \e{New Game} button, you alter it as below:
\snippet declarative/tutorials/samegame/samegame2/samegame.qml 1
-We have just replaced the \c{onClicked: print("Implement me!")} with \c{onClicked: initBoard()}.
+We have just replaced the \c{onClicked: console.log("Implement me!")} with \c{onClicked: initBoard()}.
Note that in order to have the function available, you'll need to include the script in the main file,
by adding a script element to it.