diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-21 09:37:21 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-21 10:02:50 +0000 |
commit | bd2fc0d2c751752562fdbc4dfe269f928dd1ae93 (patch) | |
tree | 8b38b19aa60cf3123e5dcc5367af98298c7f59ae | |
parent | 5731b77e2d0b8583c5125c11a0adec91bf7f3cbd (diff) |
PySide6: Enable sorting overriding QStandardItem::operator<()
Sorting of items can be achieved by overriding virtual
QStandardItem::operator<(), similar to QTreeWidgetItem::operator<().
For unknown reasons, the QStandardItem operator was removed in the
initial Qt 5 commit.
Fixes: PYSIDE-1014
Change-Id: I027dd4f0340e81bbbd6d453378e3aca62c420b1d
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 2c795c34e4a8a1689fe6ac6a1099011e017893ed)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml index 936975638..374832317 100644 --- a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml +++ b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml @@ -1282,9 +1282,6 @@ <define-ownership class="target" owner="target"/> </modify-argument> </modify-function> - - <!-- ??? --> - <modify-function signature="operator<(QStandardItem)const" remove="all"/> </object-type> <object-type name="QSyntaxHighlighter"> <modify-function signature="setCurrentBlockUserData(QTextBlockUserData*)"> |