summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-08-29 17:01:39 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2023-08-30 09:19:41 +0200
commitd5fbdf9a3c9846b361bb0f41a015829ee8c63d7f (patch)
tree8136aeb1dddfeebd8e3685911e11a9933b31a1e2
parent4e15097135f1eaa57fbaca68706ffa68c5ee5467 (diff)
Fix typo in sample code
Add the missing closing parenthesis. Pick-to: 6.2 6.5 6.6 Change-Id: I490b8e3480b2e1cfa23829c12fee14606c88e56f Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r--src/scxml/doc/qtscxml-instantiating-state-machines.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc b/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc
index 055b27f..51c51e2 100644
--- a/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc
+++ b/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc
@@ -136,7 +136,7 @@
stateMachine->submitEvent("tap", QVariantMap({
{ "artist", "Fatboy Slim" },
{ "title", "The Rockafeller Skank" }
- });
+ }));
\endcode
This will generate a "tap" event with the map contents available in