QState addTransition ownership
Solved
General and Desktop
-
The documentation states that calling addTransition with an AbstractTransition will change ownership of that transition.
When calling addTransition(const QObject *sender, const char *signal, QAbstractState *target) it returns a QSignalTransition.
Is the QState the owner of the QSignalTransition or do we need to mange the QSignalTransition on our own?
-
Hi! With ...
auto transition = state.addTransition(...);
...
state
istransition
's parent.