mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 23:17:34 +01:00
yuzu/configuration/configure_web: Remove an unused lambda capture
'this' isn't actually used within the lambda, since what we need from the class is already assigned within the capture section of the lambda.
This commit is contained in:
parent
b8b87ec01f
commit
549164d425
@ -90,9 +90,8 @@ 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);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user