Commit f0a0b9e9 authored by Montel Laurent's avatar Montel Laurent Committed by hjk
Browse files

plugins genericprojectmanager: fix mem leak. m_ui was never deleted



Change-Id: I50f98cdfb9372a1a1f78b7c8fe0ad7f39856ea01
Reviewed-by: default avatarLaszlo Papp <lpapp@kde.org>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent edabcb40
...@@ -255,6 +255,11 @@ GenericMakeStepConfigWidget::GenericMakeStepConfigWidget(GenericMakeStep *makeSt ...@@ -255,6 +255,11 @@ GenericMakeStepConfigWidget::GenericMakeStepConfigWidget(GenericMakeStep *makeSt
this, SLOT(updateMakeOverrrideLabel())); this, SLOT(updateMakeOverrrideLabel()));
} }
GenericMakeStepConfigWidget::~GenericMakeStepConfigWidget()
{
delete m_ui;
}
QString GenericMakeStepConfigWidget::displayName() const QString GenericMakeStepConfigWidget::displayName() const
{ {
return tr("Make", "GenericMakestep display name."); return tr("Make", "GenericMakestep display name.");
......
...@@ -95,6 +95,7 @@ class GenericMakeStepConfigWidget :public ProjectExplorer::BuildStepConfigWidget ...@@ -95,6 +95,7 @@ class GenericMakeStepConfigWidget :public ProjectExplorer::BuildStepConfigWidget
Q_OBJECT Q_OBJECT
public: public:
GenericMakeStepConfigWidget(GenericMakeStep *makeStep); GenericMakeStepConfigWidget(GenericMakeStep *makeStep);
~GenericMakeStepConfigWidget();
virtual QString displayName() const; virtual QString displayName() const;
virtual QString summaryText() const; virtual QString summaryText() const;
private slots: private slots:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment