forked from qt-creator/qt-creator
Git: Fix object leaks
Change-Id: I0efb368782ffb66cf6b8d39650fe7840c5ef2501 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
f7ac7fb241
commit
c60ab1ca3c
@@ -50,6 +50,11 @@ GerritOptionsPage::GerritOptionsPage(const QSharedPointer<GerritParameters> &p,
|
||||
setDisplayName(tr("Gerrit"));
|
||||
}
|
||||
|
||||
GerritOptionsPage::~GerritOptionsPage()
|
||||
{
|
||||
delete m_widget;
|
||||
}
|
||||
|
||||
QWidget *GerritOptionsPage::createPage(QWidget *parent)
|
||||
{
|
||||
GerritOptionsWidget *gow = new GerritOptionsWidget(parent);
|
||||
|
||||
Reference in New Issue
Block a user