-
Dmitry Kazakov authored
We must not keep 'end' iterator throughout the loop if the object is changed in the meantime. According to Qt's docs all the iterators become 'undefined' after every non-const function call over the iterated object. CC:kimageshop@kde.org
cb342ec3