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
|
@ -91,12 +91,11 @@ void ConfigureWeb::OnLoginChanged() {
|
||||||
|
|
||||||
void ConfigureWeb::VerifyLogin() {
|
void ConfigureWeb::VerifyLogin() {
|
||||||
ui->button_verify_login->setDisabled(true);
|
ui->button_verify_login->setDisabled(true);
|
||||||
ui->button_verify_login->setText(tr("Verifying"));
|
ui->button_verify_login->setText(tr("Verifying..."));
|
||||||
verify_watcher.setFuture(
|
verify_watcher.setFuture(QtConcurrent::run([username = ui->edit_username->text().toStdString(),
|
||||||
QtConcurrent::run([this, username = ui->edit_username->text().toStdString(),
|
token = ui->edit_token->text().toStdString()] {
|
||||||
token = ui->edit_token->text().toStdString()]() {
|
return Core::VerifyLogin(username, token);
|
||||||
return Core::VerifyLogin(username, token);
|
}));
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureWeb::OnLoginVerified() {
|
void ConfigureWeb::OnLoginVerified() {
|
||||||
|
|
Reference in New Issue