> It was a C++ for (int x=0;...) loop, but we are compiling for C++ 11 Hm, then my guess would be that they were working on a QHash/container that was shared and the first remove() performed a detach. Thus the loop worked on a copy. Best Lorenz