Related: BUG 406931
Issue: When you select an inner node (method or member) in Classes panel, then type something in search bar that filters that node out, Kdevelop crashes.
It seems that when nodes get filtered, at some point currentIndex of QTreeView points to deleted node, which causes segfault in ClassModel::hasChildren.
Manually invalidating currentIndex before filtering seems to have fixed the issue, I would appreciate if somebody else tested that too.
Details
Details
- Reviewers
- None
- Group Reviewers
KDevelop - Commits
- R32:5bff5d65a023: Fixed crash when filtering class list
Diff Detail
Diff Detail
- Repository
- R32 KDevelop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.