Utils: Set TipContent pointer to null in destructor.

Task-number: QTCREATORBUG-8582

Change-Id: I29e875564d983c4a1154cbc962616e1488425ac3
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
David Schulz
2013-01-29 09:55:07 +01:00
committed by Erik Verbruggen
parent 4cb9f675aa
commit f04650dbbf

View File

@@ -72,7 +72,9 @@ QTipLabel::QTipLabel(QWidget *parent) :
QTipLabel::~QTipLabel()
{
delete m_tipContent;
Utils::TipContent *tmpTipContent = m_tipContent;
m_tipContent = 0;
delete tmpTipContent;
}
bool QTipLabel::isInteractive() const