aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-02-04 17:42:38 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:53:54 -0300
commit59c882566be0d58c256f715ce675f10f3181ccc3 (patch)
tree68a16a0910f13785aae35f75f6305ed4edb33640 /PySide/QtCore
parent34529760f4766a84a7dbb8f32c776abfe9c4fdda (diff)
Fix bug 660 - "QMimeData type deleted prematurely when overriding mime-type in QStandardItemModel drag and drop"
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 51019778c..8e292cf18 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1129,7 +1129,8 @@
</add-function>
<modify-function signature="mimeData(QList&lt;QModelIndex&gt;) const">
<modify-argument index="return">
- <define-ownership owner="c++"/>
+ <define-ownership class="native" owner="c++"/>
+ <define-ownership class="target" owner="default"/>
</modify-argument>
</modify-function>
<modify-function signature="data(const QModelIndex&amp;,int) const">