Gerrit: Store username provided by the user

Change-Id: I72163d974e744211da4c442c474611390f5d3111
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2017-03-13 00:18:19 +02:00
committed by Orgad Shaneh
parent f71971323e
commit f9b556621c

View File

@@ -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) {