Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QState addTransition ownership
AccWhid last edited by
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?
A Former User last edited by
Hi! With ...
auto transition = state.addTransition(...);