diff options
author | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2018-01-26 09:47:48 +0100 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2018-02-02 10:21:23 +0000 |
commit | a18e81dd1311811eb1227cf46d253ae647a9fbdd (patch) | |
tree | a5a948f28441163605da26a04b0e36af55980fb2 /sources/pyside2/PySide2/QtWidgets/CMakeLists.txt | |
parent | 27e24a733b8a65623683b00c0764ef00d05fa397 (diff) |
Fix QTabWidget.clear to avoid double obj removal
Replacing shiboken call setParent with releaseOwnership
so Python will not delete the underlying C++ object.
A test case is provided to check that the error is not
happening.
Task-number: PYSIDE-213
Change-Id: Ic0f383c3d93b905885f76788d32d62ba37ed9d2f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/QtWidgets/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions