Revision 618eb5e...

Go back to digest for 31st July 2011

Bug Fixes in Development Tools

Andreas Pakulat committed changes in [kdevelop] projectmanagers/cmake/settings/cmakepreferences.cpp:

Fix cleanup of cache-model

Directly deleting the cache model and leaving a reference in the view
is dangerous as the related bugreport shows. I'm not sure why there was
an event sent out to the selectionmodel, but it seems this happens already
when deleting the model. The event however is delivered later on in the
nested event-loop from the kmessagebox and at that point the selectionmodel
is already gone.

So disconnect the selectionmodel properly, explicitly remove the model
from the view and let the cache model alive for one round of
event-processing.

File Changes

Modified 1 files
  • projectmanagers/cmake/settings/cmakepreferences.cpp
1 files changed in total