diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-06 12:37:29 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-06 12:23:18 +0000 |
commit | df59576f11705e0075d004ffcc0ac77e53475a3c (patch) | |
tree | c2b60aeb65312d83815eca9655dcb84522d9e2ff | |
parent | 63904309552bc6dd39fcfda086b81c1b9bee0a08 (diff) |
Doc: Mention that the state machine owns submitted events
Change-Id: I9e83c938ff6ebc3c630b2d28f6d3c00cc340b291
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r-- | src/scxml/qscxmlstatemachine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scxml/qscxmlstatemachine.cpp b/src/scxml/qscxmlstatemachine.cpp index 0571767..df6f0f2 100644 --- a/src/scxml/qscxmlstatemachine.cpp +++ b/src/scxml/qscxmlstatemachine.cpp @@ -1894,6 +1894,7 @@ QString QScxmlStateMachine::name() const * priority of the event. * * When a delay is set, the event will be queued for delivery after the timeout has passed. + * The state machine takes ownership of \a event and deletes it after processing. */ void QScxmlStateMachine::submitEvent(QScxmlEvent *event) { |