Bug 178970 - buildset items not removed when project is closed
Summary: buildset items not removed when project is closed
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: project (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR major
Target Milestone: 1.0.0
Assignee: Andreas Pakulat
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-28 16:05 UTC by mbreugel
Modified: 2009-02-08 15:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
proposed fix (1.24 KB, patch)
2008-12-28 16:06 UTC, mbreugel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mbreugel 2008-12-28 16:05:49 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Buildset items are not removed whenever the corresponding project is closed. This results in the same items being added over and over again on each project reopen.

steps to reproduce:
1/ open some project
2/ add an item to buildset
3/ open the project again [project->open recent->foo.kdev4]

Now the buildset contains the item added in step 2 twice.
Comment 1 mbreugel 2008-12-28 16:06:55 UTC
Created attachment 29700 [details]
proposed fix
Comment 2 Andreas Pakulat 2008-12-28 20:06:47 UTC
This did work at some point, so there's been a regression in the existing code. I'd like to find out what changes caused this to break before applying the patch.
Comment 3 Andreas Pakulat 2009-02-08 15:42:31 UTC
SVN commit 923289 by apaku:

add a slot to remove any items of a project when that project has been
closed.
BUG:178970

 M  +13 -0     projectbuildsetmodel.cpp  
 M  +1 -0      projectbuildsetmodel.h  
 M  +2 -0      projectmanagerviewplugin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=923289