|
|
@ -61,7 +61,6 @@ void SshControl::getUserKeys(const QString &username) { |
|
|
|
HttpRequest *request = new HttpRequest(this, "https://github.com/" + username + ".keys", "", false); |
|
|
|
HttpRequest *request = new HttpRequest(this, "https://github.com/" + username + ".keys", "", false); |
|
|
|
QObject::connect(request, &HttpRequest::receivedResponse, [=](const QString &resp) { |
|
|
|
QObject::connect(request, &HttpRequest::receivedResponse, [=](const QString &resp) { |
|
|
|
if (!resp.isEmpty()) { |
|
|
|
if (!resp.isEmpty()) { |
|
|
|
Params params; |
|
|
|
|
|
|
|
params.put("GithubUsername", username.toStdString()); |
|
|
|
params.put("GithubUsername", username.toStdString()); |
|
|
|
params.put("GithubSshKeys", resp.toStdString()); |
|
|
|
params.put("GithubSshKeys", resp.toStdString()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|