Improve memory management in project window.

* Panel struct does no longer take ownership of its widget.
 * Panels consitently delete their widget in their destructor.

Reviewed-By: dt
This commit is contained in:
Tobias Hunger
2009-11-25 15:18:51 +01:00
parent 97ad692684
commit fbcd670854
6 changed files with 55 additions and 68 deletions

View File

@@ -73,7 +73,7 @@ BuildSettingsPanel::BuildSettingsPanel(Project *project)
BuildSettingsPanel::~BuildSettingsPanel()
{
delete m_widget;
}
QString BuildSettingsPanel::name() const