]> cloud.milkyroute.net Git - dolphin.git/commit
Fix incorrect usage of list iterators
authorFrank Reininghaus <frank78ac@googlemail.com>
Thu, 6 Dec 2012 18:43:11 +0000 (19:43 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 6 Dec 2012 18:48:59 +0000 (19:48 +0100)
commita1353a9d48bc8a45516f7d9323c5a9f99194b310
tree68025724fc925fc725e0bb73bf6167d1024c4544
parentf19811517a714ae19e8222727eaaa39d65605cd0
Fix incorrect usage of list iterators

The problem was that we erased an iterator from the list and then
incremented it. This can lead to problems (namely, random crashes) if
the iterator pointed to the last list element.

Thanks to Sandro Mani for testing the patch!

BUG: 311246
FIXED-IN: 4.9.5
src/views/dolphinview.cpp