forked from qt-creator/qt-creator
Gerrit: Store username provided by the user
Change-Id: I72163d974e744211da4c442c474611390f5d3111 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
f71971323e
commit
f9b556621c
@@ -143,6 +143,7 @@ bool AuthenticationDialog::setupCredentials()
|
|||||||
if (user.isEmpty() || password.isEmpty())
|
if (user.isEmpty() || password.isEmpty())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
m_server->user.userName = user;
|
||||||
for (QString &line : m_allMachines) {
|
for (QString &line : m_allMachines) {
|
||||||
const QString machine = findEntry(line, "machine");
|
const QString machine = findEntry(line, "machine");
|
||||||
if (machine == m_server->host) {
|
if (machine == m_server->host) {
|
||||||
|
|||||||
Reference in New Issue
Block a user