diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-02-02 16:24:23 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:53:52 -0300 |
commit | fac9507d3eccfe6c46462496be1e9991312ea644 (patch) | |
tree | 493162802b74a84dd95ea3d7b869a7be1d6f61d7 /PySide | |
parent | a7e1ccf1272710a429a031b26ff8d177842895ef (diff) |
Fix bug 652 - "Segfault when using QTextBlock::setUserData due to missing ownership transfer"
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 1f2a9367d..5a69a11ff 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -491,6 +491,11 @@ <modify-function signature="operator++(int)" remove="all"/> <modify-function signature="operator--(int)" remove="all"/> </value-type> + <modify-function signature="setUserData(QTextBlockUserData*)"> + <modify-argument index="1"> + <parent index="this" action="add"/> + </modify-argument> + </modify-function> </value-type> <value-type name="QTextBlockFormat" /> <value-type name="QTextTableCellFormat" /> |