aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-08-11 10:46:49 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-08-11 19:58:28 +0000
commite93421ba2b889c383798eb43b7e575f8c7d6eaa1 (patch)
tree46c1728495fedd27f1e61ea3a8de8942ceac2e46
parent28cd0228e1ee912cae279ad5671237388240a638 (diff)
PySide6: Fix a crash when overriding QAbstractItemModel::mimeData()
Correct the signature modification, which changed due to typedefs in Qt 6, fixing: sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:1511: signature 'mimeData(QModelIndexList)const' for function modification in 'QAbstractItemModel' not found. Change-Id: I0798308861a5ca6161c52681919a5dac672bbad2 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit 660485ee362180ee023b88ebbfd1e5dbf1175ae6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/pyside6/PySide6/QtCore/typesystem_core_common.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
index e9a6ced70..c471cecef 100644
--- a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
+++ b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
@@ -1543,7 +1543,7 @@
</inject-documentation>
</add-function>
<inject-code class="target" position="end" file="../glue/qtcore.cpp" snippet="qabstractitemmodel"/>
- <modify-function signature="mimeData(QModelIndexList)const">
+ <modify-function signature="mimeData(QList&lt;QModelIndex&gt;)const">
<modify-argument index="return">
<define-ownership class="native" owner="c++"/>
<define-ownership class="target" owner="default"/>