forked from qt-creator/qt-creator
ProjectExplorer: Do not leak targetsetuppages
Leaving these around can lead to a crash when updating a kit after the project has been closed. Task-number: QTCREATORBUG-17571 Change-Id: Ie4be99a665b072f3c920e3f365f5b20949436850 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -726,6 +726,10 @@ TargetGroupItemPrivate::TargetGroupItemPrivate(TargetGroupItem *q, Project *proj
|
||||
TargetGroupItemPrivate::~TargetGroupItemPrivate()
|
||||
{
|
||||
disconnect();
|
||||
|
||||
delete m_noKitLabel;
|
||||
delete m_configurePage;
|
||||
delete m_configuredPage;
|
||||
}
|
||||
|
||||
QVariant TargetGroupItem::data(int column, int role) const
|
||||
|
Reference in New Issue
Block a user