mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00: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
							
								
									b16445064b
								
							
						
					
					
						commit
						c1a066fa89
					
				
					 1 changed files with 4 additions and 5 deletions
				
			
		|  | @ -92,11 +92,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() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue