Commit 3af0b265 authored by Laurent Montel's avatar Laurent Montel 😁 Committed by David Faure

Add more debug

(cherry picked from commit b08719c5)
parent debd4f6b
......@@ -89,7 +89,18 @@ public:
} else {
try {
return QString(); //QString::fromLatin1(ProtocolHelper::entitySetToScope(mRequestedItems));
QString itemStr = QStringLiteral("items id: ");
bool firstItem = true;
Q_FOREACH(const Akonadi::Item &item, mRequestedItems) {
if (firstItem) {
firstItem = false;
} else {
itemStr += QStringLiteral(", ");
}
itemStr += QString::number(item.id()) + QStringLiteral(" from collection %1").arg(item.parentCollection().id());
}
return itemStr;
//return QString(); //QString::fromLatin1(ProtocolHelper::entitySetToScope(mRequestedItems));
} catch (const Exception &e) {
return QString::fromUtf8(e.what());
}
......
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