diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-21 09:37:21 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-21 09:59:44 +0100 |
| commit | 2c795c34e4a8a1689fe6ac6a1099011e017893ed (patch) | |
| tree | 00b948ce34dedd139e24053b18f3b0d726edc622 | |
| parent | af70c8d44b010dc4018d32f7affb9164fbf10c0d (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
Pick-to: 6.4
Change-Id: I027dd4f0340e81bbbd6d453378e3aca62c420b1d
Reviewed-by: Christian Tismer <tismer@stackless.com>
| -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 08e729f19..fc53fc7ae 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*)"> |
