summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-17 17:39:46 +0100
committerLioncash <mathew1800@gmail.com>2019-01-17 17:39:49 +0100
commit549164d425e42ebbf7ba9c79cb533dd6fc215f8a (patch)
tree54273f42ee6c8fc2fc2ac883b9936643b7839c34
parentyuzu/configuration/configure_web: Use an ellipsis with 'Verifying' text (diff)
downloadyuzu-549164d425e42ebbf7ba9c79cb533dd6fc215f8a.tar
yuzu-549164d425e42ebbf7ba9c79cb533dd6fc215f8a.tar.gz
yuzu-549164d425e42ebbf7ba9c79cb533dd6fc215f8a.tar.bz2
yuzu-549164d425e42ebbf7ba9c79cb533dd6fc215f8a.tar.lz
yuzu-549164d425e42ebbf7ba9c79cb533dd6fc215f8a.tar.xz
yuzu-549164d425e42ebbf7ba9c79cb533dd6fc215f8a.tar.zst
yuzu-549164d425e42ebbf7ba9c79cb533dd6fc215f8a.zip
-rw-r--r--src/yuzu/configuration/configure_web.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/yuzu/configuration/configure_web.cpp b/src/yuzu/configuration/configure_web.cpp
index 7841413ee..18566d028 100644
--- a/src/yuzu/configuration/configure_web.cpp
+++ b/src/yuzu/configuration/configure_web.cpp
@@ -90,11 +90,10 @@ 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);
- }));
+ 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() {