aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-07-23 10:15:17 +0200
committerChristian Tismer <tismer@stackless.com>2021-07-27 14:07:53 +0200
commitdcfbb326e431de1e710385a8126b4a2739e2e921 (patch)
treebf0782d5a8606a560732985971f7e8d2201da33a /sources/pyside6
parent8d3ed516a063b365459ce62b8b1b62ed2ad373cb (diff)
PySide: fix QItemSelection.__add__, supplement
The removal of the range was not necessary and created a warning. Task-number: PYSIDE-535 Pick-to: 6.1 Change-Id: I07e87e544c13e58e6369b81bbecce43da37b0a86 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6')
-rw-r--r--sources/pyside6/PySide6/QtCore/typesystem_core_common.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
index 889756db5..6ba5ccd49 100644
--- a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
+++ b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
@@ -1595,8 +1595,7 @@
tag in Qt6? -->
<declare-function signature="QItemSelection()" return-type="QItemSelection" />
<!-- The __add__ function creates a result list, instead of using the inherited type.
- Solved for now by removing and re-adding with the correct type. -->
- <modify-function signature="operator+(QList&lt;QItemSelectionRange&gt;)const" remove="all" />
+ Fixed by adding with the correct type. -->
<add-function signature="operator+(QItemSelection)" return-type="QItemSelection">
<inject-code class="target" position="beginning" file="../glue/qtcore.cpp" snippet="qitemselection-add"/>
</add-function>