removed debugging code
This commit is contained in:
parent
d3114fafbf
commit
c0e64f3f42
1 changed files with 2 additions and 4 deletions
|
@ -4,7 +4,6 @@
|
||||||
#include <QXmlStreamReader>
|
#include <QXmlStreamReader>
|
||||||
#include <QXmlStreamWriter>
|
#include <QXmlStreamWriter>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include <QDebug>
|
|
||||||
#include "decklist.h"
|
#include "decklist.h"
|
||||||
|
|
||||||
AbstractDecklistNode::AbstractDecklistNode(InnerDecklistNode *_parent)
|
AbstractDecklistNode::AbstractDecklistNode(InnerDecklistNode *_parent)
|
||||||
|
@ -193,10 +192,9 @@ bool DeckList::readElement(QXmlStreamReader *xml)
|
||||||
name = currentElementText;
|
name = currentElementText;
|
||||||
else if (xml->name() == "comments")
|
else if (xml->name() == "comments")
|
||||||
comments = currentElementText;
|
comments = currentElementText;
|
||||||
else if (xml->name() == "cockatrice_deck") {
|
else if (xml->name() == "cockatrice_deck")
|
||||||
qDebug() << "deck finished!";
|
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
currentElementText.clear();
|
currentElementText.clear();
|
||||||
} else if (xml->isStartElement() && (xml->name() == "zone"))
|
} else if (xml->isStartElement() && (xml->name() == "zone"))
|
||||||
currentZone = new InnerDecklistNode(xml->attributes().value("name").toString(), root);
|
currentZone = new InnerDecklistNode(xml->attributes().value("name").toString(), root);
|
||||||
|
|
Loading…
Reference in a new issue