mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	yuzu/compatdb: Remove unnecessary qualifiers
Keeps the code consistent in regards to how the buttons are referred to.
This commit is contained in:
		
							parent
							
								
									46b015befd
								
							
						
					
					
						commit
						95b413a458
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -56,7 +56,7 @@ void CompatDB::Submit() { | |||
| 
 | ||||
|         button(NextButton)->setEnabled(false); | ||||
|         button(NextButton)->setText(tr("Submitting")); | ||||
|         button(QWizard::CancelButton)->setVisible(false); | ||||
|         button(CancelButton)->setVisible(false); | ||||
| 
 | ||||
|         testcase_watcher.setFuture(QtConcurrent::run( | ||||
|             [] { return Core::System::GetInstance().TelemetrySession().SubmitTestcase(); })); | ||||
|  | @ -72,12 +72,12 @@ void CompatDB::OnTestcaseSubmitted() { | |||
|                               tr("An error occured while sending the Testcase")); | ||||
|         button(NextButton)->setEnabled(true); | ||||
|         button(NextButton)->setText(tr("Next")); | ||||
|         button(QWizard::CancelButton)->setVisible(true); | ||||
|         button(CancelButton)->setVisible(true); | ||||
|     } else { | ||||
|         next(); | ||||
|         // older versions of QT don't support the "NoCancelButtonOnLastPage" option, this is a
 | ||||
|         // workaround
 | ||||
|         button(QWizard::CancelButton)->setVisible(false); | ||||
|         button(CancelButton)->setVisible(false); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue