Gerrit: Store full user details in server

This is needed for REST, which never returns user name (only account id,
full name and email)

Change-Id: Ia4e3cca15a80a26b26f5f69edfc83a18e4c1fa1b
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-02-25 22:24:45 +02:00
committed by Orgad Shaneh
parent bae0f1406e
commit 0995cf22ab
6 changed files with 32 additions and 20 deletions

View File

@@ -54,7 +54,7 @@ public:
GerritPatchSet() : patchSetNumber(1) {}
QString approvalsToHtml() const;
QString approvalsColumn() const;
bool hasApproval(const QString &userName) const;
bool hasApproval(const GerritUser &user) const;
int approvalLevel() const;
QString ref;