mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-22 07:10:25 -08:00
removed debugging code
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user