diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-07-08 16:14:11 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-07-20 13:30:33 +0200 |
| commit | 16429c860888578b5bda7fd75437dd1f6a79b331 (patch) | |
| tree | eb188c103c5d69726458af54631c92ae471a37fd /testing/parser.py | |
| parent | 903da7d2a32d0992737cccd72f25a5dca6d421c4 (diff) | |
PySide: fix QItemSelection default and QItemSelection.__add__
QItemSelection with no argument should create an empty
selector. This worked in Qt5.
In Qt6, everything works but the empty argument.
Without further analysis, this might be related to the
new [default] tag found in the Qt6 QItemSelection documentation?
Fixing this bug leads directly to the add operator, which returns
a list instead of a combined QItemSelection.
Fixed by removing `operator+(list<QItemSelectionRange>)` and re-adding it
with QItemSelection
Unrelated, occurred during bug hunting.
Task-number: PYSIDE-535
Change-Id: Ie5b881659e54fc0eebc8c9903df6e14eb2788565
Pick-to: 6.1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'testing/parser.py')
0 files changed, 0 insertions, 0 deletions
