Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.12.0
-
None
Description
http://doc.qt.io/qt-5/qmutablelinkedlistiterator.html#value
QLinkedList<qreal> data2 = QLinkedList<qreal>(); data2.append(2.0); data2.append(1.5); data2.append(1.0); data2.append(0.5); QMutableLinkedListIterator<qreal> itterator(data2); itterator.toFront(); qDebug() << "Debug"; //qDebug() << itterator.value(); //<- Throws Assert Error qDebug() << itterator.next();
The value function will cause an assert error if no other function like next has been called previously.
This should be mentioned in the Documentation.