| Summary: | Dolphin crashes sometimes when disabling grouping | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Frank Reininghaus <frank78ac> |
| Component: | view-engine: general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 4.10.97 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/kde-baseapps/292e11fcf46bb74df59dc516ea4db6f021b626bd | Version Fixed/Implemented In: | 4.11.1 |
| Sentry Crash Report: | |||
|
Description
Frank Reininghaus
2013-08-06 21:17:39 UTC
Git commit 292e11fcf46bb74df59dc516ea4db6f021b626bd by Frank Reininghaus. Committed on 14/08/2013 at 21:40. Pushed by freininghaus into branch 'KDE/4.11'. 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. FIXED-IN: 4.11.1 REVIEW: 111919 M +4 -2 dolphin/src/kitemviews/kitemlistview.cpp http://commits.kde.org/kde-baseapps/292e11fcf46bb74df59dc516ea4db6f021b626bd |