XML file version is now 0.1

This commit is contained in:
Alexandre Quessy
2014-04-30 22:28:41 -04:00
parent be7cf11246
commit 3dcd51ef8d
3 changed files with 12 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ bool ProjectWriter::writeFile(QIODevice *device)
_xml.writeStartDocument();
_xml.writeDTD("<!DOCTYPE mapmap>");
_xml.writeStartElement("project");
_xml.writeAttribute("version", "1.0");
_xml.writeAttribute("version", "0.1"); // Similar to pkg-config version numbers.
_xml.writeStartElement("paints");
for (int i = 0; i < _manager->nPaints(); i++)