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 /build_history | |
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 'build_history')
-rw-r--r-- | build_history/blacklist.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/build_history/blacklist.txt b/build_history/blacklist.txt index f7fb0c387..7786fe989 100644 --- a/build_history/blacklist.txt +++ b/build_history/blacklist.txt @@ -37,9 +37,6 @@ # Open GL functions failures on macOS (2/2020) [registry::existence_test] darwin -# QItemSelection::operator+() degenerates to list<QItemSelectionRange> for which added operator==() does not work -[QtWidgets::bug_785] - qt6 [QtCore::bug_686] linux ci [QtCore::qthread_signal_test] |