]> cloud.milkyroute.net Git - dolphin.git/commit
Fix crash when expanding/closing a sub-tree
authorPeter Penz <peter.penz19@gmail.com>
Fri, 16 Sep 2011 20:33:00 +0000 (22:33 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Fri, 16 Sep 2011 20:35:14 +0000 (22:35 +0200)
commit5070666ad2cd5fe3e559adca00a52aed5d137153
tree6c6bd1c65add39917d7562780623a56c4da373a4
parent6a0b15cbaa590af3d3e00f1598cc0356e9f5abb8
Fix crash when expanding/closing a sub-tree

m_pendingItems and m_pendingInvisibleItems might contain already
removed items. Take care to delete them before starting to resolve
the roles.

Thanks to Frank Reininghaus for finding out the root-cause.
src/kitemviews/kfileitemmodelrolesupdater.cpp