Gerrit: Use short user name for marking owned changes

Gerrit provides this data. There's no reason to wait for the query's
result to determine who I am.

Change-Id: Icd0f08fd08cf428dfbadf88224ae21bd4dbc207f
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2017-02-13 22:22:06 +02:00
committed by Orgad Shaneh
parent 9402ddb1e1
commit 0fbe2a125b
2 changed files with 5 additions and 7 deletions

View File

@@ -77,6 +77,7 @@ public:
int neededByNumber = 0;
QString title;
QString owner;
QString user;
QString email;
QString project;
QString branch;
@@ -142,7 +143,6 @@ private:
QSharedPointer<GerritServer> m_server;
QueryContext *m_query = 0;
QueryState m_state = Idle;
QString m_userName;
};
} // namespace Internal