From f9b556621c20dab02679b84193ee0836d1e65836 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 13 Mar 2017 00:18:19 +0200 Subject: [PATCH] Gerrit: Store username provided by the user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I72163d974e744211da4c442c474611390f5d3111 Reviewed-by: André Hartmann --- src/plugins/git/gerrit/authenticationdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/git/gerrit/authenticationdialog.cpp b/src/plugins/git/gerrit/authenticationdialog.cpp index e54510df5a5..268a18ac6fb 100644 --- a/src/plugins/git/gerrit/authenticationdialog.cpp +++ b/src/plugins/git/gerrit/authenticationdialog.cpp @@ -143,6 +143,7 @@ bool AuthenticationDialog::setupCredentials() if (user.isEmpty() || password.isEmpty()) return false; + m_server->user.userName = user; for (QString &line : m_allMachines) { const QString machine = findEntry(line, "machine"); if (machine == m_server->host) {