Crash after using uninitialized variable.
--HG-- branch : develop
This commit is contained in:
parent
6094ddec5f
commit
084109488f
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
DeleteDetail::DeleteDetail(VPattern *doc, quint32 id, QUndoCommand *parent)
|
DeleteDetail::DeleteDetail(VPattern *doc, quint32 id, QUndoCommand *parent)
|
||||||
: VUndoCommand(xml, doc, parent), parentNode(QDomNode())
|
: VUndoCommand(QDomElement(), doc, parent), parentNode(QDomNode())
|
||||||
{
|
{
|
||||||
setText(tr("Delete tool"));
|
setText(tr("Delete tool"));
|
||||||
nodeId = id;
|
nodeId = id;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user