Commit 88d05e69 authored by Nikita Sirgienko's avatar Nikita Sirgienko
Browse files

Remove redundant debug output in GraphicPackage

parent 5b039912
...@@ -97,14 +97,12 @@ QList<GraphicPackage> Cantor::GraphicPackage::loadFromFile(const QString& filena ...@@ -97,14 +97,12 @@ QList<GraphicPackage> Cantor::GraphicPackage::loadFromFile(const QString& filena
return packages; return packages;
QFile fin(filename); QFile fin(filename);
qDebug() << "!!!! " << filename;
if (fin.open(QFile::ReadOnly)) if (fin.open(QFile::ReadOnly))
{ {
QDomDocument doc; QDomDocument doc;
if (doc.setContent(fin.readAll()) && doc.firstChildElement(QLatin1String("GraphicPackages")).isNull() == false) if (doc.setContent(fin.readAll()) && doc.firstChildElement(QLatin1String("GraphicPackages")).isNull() == false)
{ {
const auto& elements = doc.elementsByTagName(QLatin1String("GraphicPackage")); const auto& elements = doc.elementsByTagName(QLatin1String("GraphicPackage"));
qDebug() << "!!!! " << elements.size();
for (int i = 0; i < elements.size(); i++) for (int i = 0; i < elements.size(); i++)
{ {
const QDomNode& root = elements.item(i); const QDomNode& root = elements.item(i);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment