diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-11-25 06:28:38 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-11-25 06:28:38 (GMT) |
commit | b74e226c09bc37043a06b24029e0e22e4f3cdd16 (patch) | |
tree | 11bd335cd176eac754c5ea5af8ae41cec74d22c0 /doc/src/declarative/advtutorial2.qdoc | |
parent | 1c9dcb09b79d77bc7d4958e1393437597892bb0b (diff) | |
download | Qt-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.qdoc | 2 |
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. |