mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-25 17:04:04 +00:00
Merge pull request #4591 from FearlessTobi/port-2032
Port yuzu-emu/yuzu#2032: "yuzu/configuration/configure_web: Amend verification string"
This commit is contained in:
commit
e3fb0efac3
1 changed files with 5 additions and 6 deletions
|
@ -91,12 +91,11 @@ void ConfigureWeb::OnLoginChanged() {
|
|||
|
||||
void ConfigureWeb::VerifyLogin() {
|
||||
ui->button_verify_login->setDisabled(true);
|
||||
ui->button_verify_login->setText(tr("Verifying"));
|
||||
verify_watcher.setFuture(
|
||||
QtConcurrent::run([this, username = ui->edit_username->text().toStdString(),
|
||||
token = ui->edit_token->text().toStdString()]() {
|
||||
return Core::VerifyLogin(username, token);
|
||||
}));
|
||||
ui->button_verify_login->setText(tr("Verifying..."));
|
||||
verify_watcher.setFuture(QtConcurrent::run([username = ui->edit_username->text().toStdString(),
|
||||
token = ui->edit_token->text().toStdString()] {
|
||||
return Core::VerifyLogin(username, token);
|
||||
}));
|
||||
}
|
||||
|
||||
void ConfigureWeb::OnLoginVerified() {
|
||||
|
|
Loading…
Reference in a new issue