Because in for-loop a const QString & (reference) had been used, the bug (based on invalid iterator after removing an element from container) was presented. Fixed;