It means that i >= tanksLevel.size(). Check that. You may want to initialize your list with correct size first or use QList::append instead of operator[].
2
solved index out of range C++/Qt
It means that i >= tanksLevel.size(). Check that. You may want to initialize your list with correct size first or use QList::append instead of operator[].
2
solved index out of range C++/Qt