Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. QFileInfoList fileList = dir->entryInfoList(); //Unrelated
  2.  
  3. fileList.toVector().erase(fileList.toVector().begin() + 1, fileList.toVector().begin() + 2); // Throws assert: "The specified iterator argument 'abegin' is invalid", although the fileList.toVector().size() is 36 so the index is not out of range
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement