Fix startup crash of KDevelop by using an existing view instead of a
list index that cannot exist.
Details
Details
- Reviewers
kfunk - Group Reviewers
KDevelop - Commits
- R32:259218d904bd: Fix default fallback for Sublime::View.
R33:259218d904bd: Fix default fallback for Sublime::View.
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Ouch. LGTM.
@Sergobot: Was that change done by Clazy or did you manually turn back() in to area->views().at(area->views().size()? If the former is the case, please do report a bug in Clazy.
Thanks!