PDA

View Full Version : QMutableListIterator pointing outside QList



Capton
22nd February 2013, 16: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, 20:58
Where did the iterator point before you appended the item? Did you append it using this iterator?

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

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