forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
bae0f1406e
commit
0995cf22ab
@@ -240,7 +240,7 @@ void GerritDialog::updateRemotes()
|
||||
while (mapIt.hasNext()) {
|
||||
mapIt.next();
|
||||
GerritServer server;
|
||||
if (!server.fillFromRemote(mapIt.value(), m_parameters->server.user))
|
||||
if (!server.fillFromRemote(mapIt.value(), m_parameters->server.user.userName))
|
||||
continue;
|
||||
// Only Ssh is currently supported. In order to extend support for http[s],
|
||||
// we need to move this logic to the model, and attempt connection to each
|
||||
|
||||
Reference in New Issue
Block a user