https://bugs.kde.org/show_bug.cgi?id=427481

--- Comment #4 from Igor Kushnir <igor...@gmail.com> ---
(In reply to Milian Wolff from comment #3)
> I think one way to fix this would be to check if the closed project path
> clashes with one of the other open project paths, and if so, reset the
> provider again. that should then re-add any potentially closed files, no?
Yes, that's an interesting idea. If this quick check detects a clash, clear
m_projectFiles and add all still open projects one by one (as is done in
ProjectFileDataProvider's constructor). I'll try this out later. This
implementation wouldn't be bullet-proof though as there may be shared files
outside of project directories, e.g. ProjectTargetItem can contain files from
out-of-tree builds.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to