Comment string in pattern file.
--HG-- branch : feature
This commit is contained in:
parent
d269e45858
commit
3681607e7a
|
@ -128,6 +128,8 @@ void VDomDocument::CreateEmptyFile()
|
||||||
QDomElement domElement = this->createElement("pattern");
|
QDomElement domElement = this->createElement("pattern");
|
||||||
|
|
||||||
this->appendChild(domElement);
|
this->appendChild(domElement);
|
||||||
|
QDomComment info = this->createComment("Valentina pattern format.");
|
||||||
|
domElement.appendChild(info);
|
||||||
QDomNode xmlNode = this->createProcessingInstruction("xml", "version=\"1.0\" encoding=\"UTF-8\"");
|
QDomNode xmlNode = this->createProcessingInstruction("xml", "version=\"1.0\" encoding=\"UTF-8\"");
|
||||||
this->insertBefore(xmlNode, this->firstChild());
|
this->insertBefore(xmlNode, this->firstChild());
|
||||||
QDomElement incrElement = this->createElement("increments");
|
QDomElement incrElement = this->createElement("increments");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user