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

Add remoteid in debug info + use removeid in qhash too

REVIEW: 129527
parent 1f37580a
......@@ -128,11 +128,11 @@ bool Relation::isValid() const
uint qHash(const Relation &relation)
{
return (3 * qHash(relation.left()) + qHash(relation.right()) + qHash(relation.type()));
return (3 * qHash(relation.left()) + qHash(relation.right()) + qHash(relation.type()) + qHash(relation.remoteId()));
}
QDebug &operator<<(QDebug &debug, const Relation &relation)
{
debug << "Akonadi::Relation( TYPE " << relation.type() << ", LEFT " << relation.left().id() << ", RIGHT " << relation.right().id() << ")";
debug << "Akonadi::Relation( TYPE " << relation.type() << ", LEFT " << relation.left().id() << ", RIGHT " << relation.right().id() << ", REMOTEID " << relation.remoteId() << ")";
return debug;
}
Supports Markdown
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