aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-22 07:02:22 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-22 07:02:22 (GMT)
commiteab92c2cad58d59a7132812395aa86acde9fb654 (patch)
treef5572cff6783081f9bed1774f8ef2aa365e22f7e
parent1f37580aa509d6eaddea6f2e638366cf09b5517a (diff)
Add remoteid in debug info + use removeid in qhash toov16.11.90
REVIEW: 129527
-rw-r--r--src/core/relation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/relation.cpp b/src/core/relation.cpp
index 4dacf2e..088ab71 100644
--- a/src/core/relation.cpp
+++ b/src/core/relation.cpp
@@ -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;
}