1
0
Fork 0
forked from suyu/suyu

Merge pull request #2032 from lioncash/web

yuzu/configuration/configure_web: Amend verification string
This commit is contained in:
bunnei 2019-01-20 13:26:47 -05:00 committed by GitHub
commit eff61c5c42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,10 +89,9 @@ 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);
})); }));
} }