diff options
author | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-02-04 15:54:25 +0100 |
---|---|---|
committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-02-06 17:20:17 +0000 |
commit | e1ce71572446e68bcd78fd37a061b7f32d40bd00 (patch) | |
tree | 34d01fc6f4f7545a85330827b763d72a8d123ab2 /sources/pyside2 | |
parent | 97df448edbc035a2f531508a5cfe5739fb2de18d (diff) |
Add pyObj check to setSequenceOwnership
Ownership is always set recursively, so for each
element we check the children of the object.
When we don't have any, and also no parent
the mechanism we have fails, so for constructors
that allow having a null parent, we need to just
skip this function.
Change-Id: Iee6a81409cad7dd08c6ecbafd1b11c9a7bb0db85
Fixes: PYSIDE-922
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2')
0 files changed, 0 insertions, 0 deletions