summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qtscript/evaluation/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/qtscript/evaluation/main.cpp')
-rw-r--r--doc/src/snippets/qtscript/evaluation/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/qtscript/evaluation/main.cpp b/doc/src/snippets/qtscript/evaluation/main.cpp
index e7efd8e..01e06b6 100644
--- a/doc/src/snippets/qtscript/evaluation/main.cpp
+++ b/doc/src/snippets/qtscript/evaluation/main.cpp
@@ -42,9 +42,9 @@
int main(int argc, char *argv[])
{
-//! [0]
+ //! [0]
QScriptEngine engine;
qDebug() << "the magic number is:" << engine.evaluate("1 + 2").toNumber();
-//! [0]
+ //! [0]
return 0;
}