diff options
| author | Frank Reininghaus <[email protected]> | 2013-08-14 23:40:02 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2013-08-14 23:40:02 +0200 |
| commit | 7e5b7d562672ecda1ec2db0cceb80a17407150f0 (patch) | |
| tree | 0931cb5d0869be45222b31ee54d56e2f2dcb02cf /src/kitemviews/kstandarditemlistwidget.cpp | |
| parent | 87f830302347e9773404f51de73afc7041829374 (diff) | |
Fix crash when disabling "Show in groups"
The problem was that items are removed from m_visibleGroups while
a QMutableHashIterator iterates over this hash, such that the iterator
can become invalid. The solution is to use a QHashIterator instead,
which takes a copy of the hash. Therefore, it is not affected if
m_visibleGroups is modified in any way.
BUG: 323248
FIXED-IN: 4.11.1
REVIEW: 111919
Diffstat (limited to 'src/kitemviews/kstandarditemlistwidget.cpp')
0 files changed, 0 insertions, 0 deletions
