From 07ff70a0da189656daf31c2a5e3e3ba117762af3 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 26 Oct 2020 14:42:52 +0100 Subject: 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 --- src/corelib/itemmodels/qitemselectionmodel.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/corelib/itemmodels/qitemselectionmodel.h') 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 { -- cgit v1.2.3