Commit b9befc7f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Continue to implement import windows contact file

parent 2cbb7906
Pipeline #29598 failed with stage
in 113 minutes and 41 seconds
......@@ -119,7 +119,15 @@ void WindowsContactImportExportPluginInterface::importWindowsContact()
}
QDomDocument doc;
if (loadDomElement(doc, &file)) {
//TODO read xml
QDomElement list = doc.documentElement();
if (list.isNull()) {
qCWarning(IMPORTEXPORTWINDOWSCONTACTPLUGIN_LOG) << "No list defined in file";
} else {
for (QDomElement e = list.firstChildElement(); !e.isNull(); e = e.nextSiblingElement()) {
const QString tag = e.tagName();
qDebug() << " tahg " << tag;
}
}
}
}
......
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