-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
5.7.1
-
None
-
6132b77db9d180d7a86982b0ca2eeae202a72e55 (qt/qtbase/5.15)
It is (well?) known, that upon deletion of a parent all its children will be axed as well.
Unknown for me was, that QStateMachine::addState will put it in the same kind of relationship, so the added QState will be deleted as well. A short word on that in the documentation would be nice.
http://doc.qt.io/qt-5/qstatemachine.html#addState
In contrast: removeState states explicitly that the ownership is released.
For Gerrit Dashboard: QTBUG-62445 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
279479,2 | Doc: Clarify the ownership of a state for addState() | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
281977,1 | Doc: Clarify the ownership of a state for addState() | 5.15 | qt/qtbase | Status: ABANDONED | 0 | 0 |