diff --git a/src/app/undocommands/deletedetail.cpp b/src/app/undocommands/deletedetail.cpp index 65a21a108..0993fe29d 100644 --- a/src/app/undocommands/deletedetail.cpp +++ b/src/app/undocommands/deletedetail.cpp @@ -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;