diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-07-23 10:15:17 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-07-27 14:07:53 +0200 |
| commit | dcfbb326e431de1e710385a8126b4a2739e2e921 (patch) | |
| tree | bf0782d5a8606a560732985971f7e8d2201da33a | |
| parent | 8d3ed516a063b365459ce62b8b1b62ed2ad373cb (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>
| -rw-r--r-- | sources/pyside6/PySide6/QtCore/typesystem_core_common.xml | 3 |
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<QItemSelectionRange>)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> |
