+// Copyright (C) 2010 Jaakko Kyro <jkyro@korjaussarja.net>
+// This file is licenced under GPL, see COPYING
+// for full licence information
#include "skilltree.h"
#include <QFile>
#include <QDataStream>
qDebug() << "Reply ready";
if (!reply->error()) {
QByteArray replyContent = reply->readAll();
- qDebug() << replyContent;
+ //qDebug() << replyContent;
fromXml(replyContent);
emit skillsLoaded();
} else {
assert(xml.name() == "row");
QString name = xml.attributes().value("","typeName").toString();
int typeId = xml.attributes().value("","typeID").toString().toInt();
- qDebug() << "Found skill " << name << ":" << typeId;
+ //qDebug() << "Found skill " << name << ":" << typeId;
skillNames[typeId] = name;
xml.skipCurrentElement(); // description
}
}
- qDebug() << skillNames;
+ //qDebug() << skillNames;
qDebug() << longestName;
}