Crash after using uninitialized variable.

--HG--
branch : develop
This commit is contained in:
dismine 2014-10-27 18:03:27 +02:00
parent 6094ddec5f
commit 084109488f

View File

@ -32,7 +32,7 @@
//---------------------------------------------------------------------------------------------------------------------
DeleteDetail::DeleteDetail(VPattern *doc, quint32 id, QUndoCommand *parent)
: VUndoCommand(xml, doc, parent), parentNode(QDomNode())
: VUndoCommand(QDomElement(), doc, parent), parentNode(QDomNode())
{
setText(tr("Delete tool"));
nodeId = id;