summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/noninteractive.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/noninteractive.qdoc b/doc/noninteractive.qdoc
index a1ddcb0da..4576dd8ca 100644
--- a/doc/noninteractive.qdoc
+++ b/doc/noninteractive.qdoc
@@ -42,14 +42,14 @@
A minimal valid script needs to contain at least a constructor, which can look like this:
\code
- function Controller
+ function Controller()
{
}
\endcode
A bit more advanced script is presented here:
\code
- function Controller
+ function Controller()
{
}
@@ -143,7 +143,7 @@
Example code:
\code
- function Controller
+ function Controller()
{
var widget = gui.pageById(QInstaller.Introduction); // get the introduction wizard page
if (widget != null)