Commit f04650db authored by David Schulz's avatar David Schulz Committed by Erik Verbruggen

Utils: Set TipContent pointer to null in destructor.

Task-number: QTCREATORBUG-8582

Change-Id: I29e875564d983c4a1154cbc962616e1488425ac3
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 4cb9f675
......@@ -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
......
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