Commit 5471a823 authored by Krzysztof Nowicki's avatar Krzysztof Nowicki Committed by Laurent Montel
Browse files

Emit log message in case of encountering an unknown item type


Signed-off-by: Krzysztof Nowicki's avatarKrzysztof Nowicki <krissn@op.pl>
parent 26f84798
......@@ -415,6 +415,8 @@ EwsItem::EwsItem(QXmlStreamReader &reader)
d->mType = EwsItemTypePostItem;
} else if (elmName == QLatin1String("Task")) {
d->mType = EwsItemTypeTask;
} else {
qCWarningNC(EWSCLI_LOG) << QStringLiteral("Unknown item type: %1").arg(elmName);
}
while (reader.readNextStartElement()) {
......
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