title: Does QT's QList save iterators after container's modifications?
body: <p>Are the iterators pointed to elements of QList still valid after there are any remove operation from QList?
  I need to remove some element from QList, so I store an iterators for those elements to another container and than take this saved iterators and use to remove necessary elements from QList.
  It looks like this:</p>
  
  <pre><code>// inside a loop for 'list'
  QList&lt;type&gt;::iterator it = list.begin() + j;
  removing.append(it);
  // end of loop for 'list'
  </code></pre>
  
  <p>...</p>
  
  <pre><code>while(removing.empty() == false)
  {
      list.erase(removing.takeFirst());
  }
  </code></pre>
  
  <p>So, when <code>removing</code> container contains more than 1 element, app crash occurs (SEGMENTATION FAULT) when attempting to erase second element, whereas first was erased successfully. 
  What is the reason and is there any way to remove elements with iterators?</p>