Commit 3fdb92ac authored by Kevin Funk's avatar Kevin Funk
Browse files

entitytreemodel: Add more debug output

Helps finding the offending collection at least.
parent e6ce08fa
Pipeline #44455 passed with stage
in 12 minutes and 49 seconds
......@@ -512,7 +512,7 @@ void EntityTreeModelPrivate::itemsFetched(const Collection::Id collectionId, con
const Akonadi::Collection::List parents = getParentCollections(item);
for (const Akonadi::Collection &parent : parents) {
if (parent.id() == collectionId) {
qCWarning(AKONADICORE_LOG) << "Fetched an item which is already in the model";
qCWarning(AKONADICORE_LOG) << "Fetched an item which is already in the model, id=" << item.id() << "collection id=" << collectionId;
// Update it in case the revision changed;
itemIt->value.apply(item);
isNewItem = false;
......
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