Commit ae0e15fa authored by Tobias Hunger's avatar Tobias Hunger

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: default avatarhjk <hjk@qt.io>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent b76af11d
......@@ -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
......
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