summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-01-20 19:26:47 +0100
committerGitHub <noreply@github.com>2019-01-20 19:26:47 +0100
commiteff61c5c42890509968e16459c5db3d25a2b94fd (patch)
tree7ab30e978ce972d18443e7e5d496bbd9b35dc7fe /src
parentMerge pull request #2025 from DarkLordZach/loader-banner-logo (diff)
parentyuzu/configuration/configure_web: Remove an unused lambda capture (diff)
downloadyuzu-eff61c5c42890509968e16459c5db3d25a2b94fd.tar
yuzu-eff61c5c42890509968e16459c5db3d25a2b94fd.tar.gz
yuzu-eff61c5c42890509968e16459c5db3d25a2b94fd.tar.bz2
yuzu-eff61c5c42890509968e16459c5db3d25a2b94fd.tar.lz
yuzu-eff61c5c42890509968e16459c5db3d25a2b94fd.tar.xz
yuzu-eff61c5c42890509968e16459c5db3d25a2b94fd.tar.zst
yuzu-eff61c5c42890509968e16459c5db3d25a2b94fd.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_web.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/yuzu/configuration/configure_web.cpp b/src/yuzu/configuration/configure_web.cpp
index 3c2ccb76f..18566d028 100644
--- a/src/yuzu/configuration/configure_web.cpp
+++ b/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() {