summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels/qitemselectionmodel.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-10-26 14:42:52 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-10-28 15:27:37 +0100
commit07ff70a0da189656daf31c2a5e3e3ba117762af3 (patch)
treecc633b36727f4d166112a250733a44026997b090 /src/corelib/itemmodels/qitemselectionmodel.h
parent29c113d912fdf96f99503c9635bf89c4cabcc6fb (diff)
Remove QItemSelectionRange's operator<()
As advocated in a ### Qt 6 comment. [ChangeLog][QtCore][QItemSelectionRange] QItemSelectionRange no longer supports ordering. The prior ordering was inconsistent with equality and should not be needed. Task-number: QTBUG-85700 Change-Id: I5eb372c203cae19db40fa67f706d911785652d5f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/itemmodels/qitemselectionmodel.h')
-rw-r--r--src/corelib/itemmodels/qitemselectionmodel.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/itemmodels/qitemselectionmodel.h b/src/corelib/itemmodels/qitemselectionmodel.h
index f2545bf93c..488999937d 100644
--- a/src/corelib/itemmodels/qitemselectionmodel.h
+++ b/src/corelib/itemmodels/qitemselectionmodel.h
@@ -98,9 +98,6 @@ public:
{ return (tl == other.tl && br == other.br); }
inline bool operator!=(const QItemSelectionRange &other) const
{ return !operator==(other); }
-#if QT_DEPRECATED_SINCE(5, 15)
- QT_DEPRECATED bool operator<(const QItemSelectionRange &other) const;
-#endif
inline bool isValid() const
{