summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-08-29 17:01:39 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-08-30 08:27:21 +0000
commit686f54e0714a717ccd60fcfc8bcfc3304aab3741 (patch)
treec5431bb1733f84b48fc61f9c12b32adbb9c63826
parent368a213d8e607b3daa2b5e85c84b4d24274a6b8c (diff)
Fix typo in sample code
Add the missing closing parenthesis. Change-Id: I490b8e3480b2e1cfa23829c12fee14606c88e56f Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> (cherry picked from commit d5fbdf9a3c9846b361bb0f41a015829ee8c63d7f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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 c78ef2b..cd92347 100644
--- a/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc
+++ b/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc
@@ -135,7 +135,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