Doc: Clarify the ownership of a state for addState()
Change-Id: Ibe498c5288faa478a4dba934bc3c403829b337db Fixes: QTBUG-62445 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>bb10
parent
f121f319b9
commit
6132b77db9
|
|
@ -2599,7 +2599,7 @@ void QStateMachine::setGlobalRestorePolicy(QState::RestorePolicy restorePolicy)
|
|||
|
||||
/*!
|
||||
Adds the given \a state to this state machine. The state becomes a top-level
|
||||
state.
|
||||
state and the state machine takes ownership of the state.
|
||||
|
||||
If the state is already in a different machine, it will first be removed
|
||||
from its old machine, and then added to this machine.
|
||||
|
|
|
|||
Loading…
Reference in New Issue