PDA

View Full Version : QMutableListIterator pointing outside QList



Capton
22nd February 2013, 15:37
After appending an item to a QList which is pointed to by a QMutableListIterator,
I find out the next value of the iterator points outside the list.
Or can't i point the iterator to any where in the list except the beginning and end?
Please i need help.

wysota
22nd February 2013, 19:58
Where did the iterator point before you appended the item? Did you append it using this iterator?

Capton
23rd February 2013, 09:59
The iterator was pointing to the front of the list

wysota
23rd February 2013, 12:17
So how did you append the item?