Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0
-
Desktop
-
-
77c2ac559fc9085608ec5a6995fcf4ec8446ec67 (qt/qtbase/dev) 5778d46e15605e218a9a4f86acee870b38905fc9 (qt/qtbase/5.15)
Description
Document in Qt5.15 for QHashIterator.hasPrevious() says it is valid
https://doc.qt.io/qt-5/qhashiterator.html#hasPrevious
But Qt Source indicates it is deprecated since 5.15. Also there is no mention of what is the substitute of it.
#if QT_DEPRECATED_SINCE(5, 15) inline QT_DEPRECATED_VERSION_5_15 bool hasPrevious() const { return i != c.constBegin(); } inline QT_DEPRECATED_VERSION_5_15 Item previous() inline QT_DEPRECATED_VERSION_5_15 Item peekPrevious() const inline bool QT_DEPRECATED_VERSION_5_15 findPrevious(const T &t)
Attachments
For Gerrit Dashboard: QTBUG-85482 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
307580,4 | Doc: Mark API in Q[Mutable]HashIterator as deprecated | dev | qt/qtbase | Status: MERGED | +2 | 0 |
307622,2 | Doc: Mark API in Q[Mutable]HashIterator as deprecated | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |