diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-26 14:42:52 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-28 15:27:37 +0100 |
commit | 07ff70a0da189656daf31c2a5e3e3ba117762af3 (patch) | |
tree | cc633b36727f4d166112a250733a44026997b090 /src/corelib/itemmodels/qitemselectionmodel.h | |
parent | 29c113d912fdf96f99503c9635bf89c4cabcc6fb (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.h | 3 |
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 { |