summaryrefslogtreecommitdiffstats
path: root/PySide/QtUiTools/typesystem_uitools.xml
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@zytor.com>2012-02-25 20:51:49 -0300
committerPaulo Alcantara <pcacjr@zytor.com>2012-02-25 21:01:07 -0300
commit797c7b26d1e9c2dc3f7ca9aa48b50c349b732a8b (patch)
tree791351bd2651ff8906d1b62900769599b5e1dbc4 /PySide/QtUiTools/typesystem_uitools.xml
parent5c1472ec04e8796412ef8186cf3d75c7a1740073 (diff)
downloadpyside-bug1138.tar.gz
pyside-bug1138.tar.xz
pyside-bug1138.zip
Fix BUG #1138 - "Subclassing of QUiLoader leads to "Internal C++ objectbug1138
already deleted" exception (again)"" Also avoid the QUILoader object to automatically be set as parent of the returned object for createAction() and createActionGroup() methods of the QUiLoader object. Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Diffstat (limited to 'PySide/QtUiTools/typesystem_uitools.xml')
-rw-r--r--PySide/QtUiTools/typesystem_uitools.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/PySide/QtUiTools/typesystem_uitools.xml b/PySide/QtUiTools/typesystem_uitools.xml
index 08e98bd..8a46b7a 100644
--- a/PySide/QtUiTools/typesystem_uitools.xml
+++ b/PySide/QtUiTools/typesystem_uitools.xml
@@ -73,18 +73,21 @@
<modify-function signature="createAction(QObject*, const QString&amp;)">
<modify-argument index="return">
<parent index="1" action="add"/>
+ <define-ownership class="target" owner="default"/>
</modify-argument>
</modify-function>
<modify-function signature="createActionGroup(QObject*, const QString&amp;)">
<modify-argument index="return">
<parent index="1" action="add"/>
+ <define-ownership class="target" owner="default"/>
</modify-argument>
</modify-function>
<modify-function signature="createLayout(const QString&amp;, QObject*, const QString&amp;)">
<modify-argument index="return">
<parent index="2" action="add"/>
+ <define-ownership class="target" owner="default"/>
</modify-argument>
</modify-function>