BuildView: Fix broken load of project plugin targets
Summary: Most changes are only a little code cosmetic, like unwrap lines or remove spaces
Test Plan:
Here it was reproducible e.g. by changing between my sessions "kate" and "sonnet". I think you can guess what they are.
- Start Kate with session "kate" -> Project Targets shown
- Switch to "sonnet" -> No Project Targets shown. I think there are no (however) defined (any illuminating tip is appreciated)
- Switch back to "kate" -> Also NO Project Targets shown, but should!
With this patch are at 3. the Project Targets back again
Reviewers: Kate, sars
Reviewed By: Kate, sars
Subscribers: sars, kwrite-devel, Kate
Tags: Kate
Differential Revision: https://phabricator.kde.org/D17339