Commit 9a12a611 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Try to fix compile against qt5.15

parent 8d6434ea
...@@ -126,7 +126,7 @@ bool Relation::isValid() const ...@@ -126,7 +126,7 @@ bool Relation::isValid() const
return (d->left.isValid() || !d->left.remoteId().isEmpty()) && (d->right.isValid() || !d->right.remoteId().isEmpty()) && !d->type.isEmpty(); return (d->left.isValid() || !d->left.remoteId().isEmpty()) && (d->right.isValid() || !d->right.remoteId().isEmpty()) && !d->type.isEmpty();
} }
uint qHash(const Relation &relation) uint Akonadi::qHash(const Relation &relation)
{ {
return (3 * qHash(relation.left()) + qHash(relation.right()) + qHash(relation.type()) + qHash(relation.remoteId())); return (3 * qHash(relation.left()) + qHash(relation.right()) + qHash(relation.type()) + qHash(relation.remoteId()));
} }
......
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