Browse Source
Merge pull request #2032 from lioncash/web
yuzu/configuration/configure_web: Amend verification string
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
6 deletions
-
src/yuzu/configuration/configure_web.cpp
|
|
|
@ -89,12 +89,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() { |
|
|
|
|