50
50
if( fileInfo.isDir() ) return false;
52
52
QFile* file = new QFile(filePath);
62
59
QDomElement docElem = doc.documentElement();
63
61
QDomNode tag = docElem.firstChild();
65
64
QDomElement element = tag.toElement(); // try to convert the node to an element.
67
66
if(element.tagName() == "layer") {
69
69
if(element.attribute("type").toInt() == Layer::BITMAP) {