Review Request: Fix reopening of areas when kdevelop was closed with some splitted views

Lambert CLARA lambert.clara at
Thu Dec 22 08:16:11 UTC 2011

This is an automatically generated e-mail. To reply, visit:

Review request for KDevelop and Aleix Pol Gonzalez.


When kdevelop is closed having a splitted view, the next reopening creates a "gray" widget in the middle of the mainwindow. Closing the tabs afterwards may lead to a crash.

The method cleanCentralWidget was iterating through the mainwindow splitter's content with a 'for' loop to delete the widgets inside, but this cannot work because each "delete" of a widget changes the count().
A simple 'while' loop instead fixes it.

I don't think there is an opened bug for this, shoud I open one ?


  sublime/mainwindow_p.cpp 61f4804 



Split views, change areas from debug/code, close and reopen kdevelop and check if all is reloaded correctly.


Lambert CLARA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list