mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	yuzu: Remove usage of the global telemetry accessor
In these cases the system object is nearby, and in the other, the long-form of accessing the telemetry instance is already used, so we can get rid of the use of the global accessor.
This commit is contained in:
		
							parent
							
								
									d37a2fb9e6
								
							
						
					
					
						commit
						65572a0fb8
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -51,8 +51,8 @@ void CompatDB::Submit() { | ||||||
|     case CompatDBPage::Final: |     case CompatDBPage::Final: | ||||||
|         back(); |         back(); | ||||||
|         LOG_DEBUG(Frontend, "Compatibility Rating: {}", compatibility->checkedId()); |         LOG_DEBUG(Frontend, "Compatibility Rating: {}", compatibility->checkedId()); | ||||||
|         Core::Telemetry().AddField(Telemetry::FieldType::UserFeedback, "Compatibility", |         Core::System::GetInstance().TelemetrySession().AddField( | ||||||
|                                    compatibility->checkedId()); |             Telemetry::FieldType::UserFeedback, "Compatibility", compatibility->checkedId()); | ||||||
| 
 | 
 | ||||||
|         button(NextButton)->setEnabled(false); |         button(NextButton)->setEnabled(false); | ||||||
|         button(NextButton)->setText(tr("Submitting")); |         button(NextButton)->setText(tr("Submitting")); | ||||||
|  |  | ||||||
|  | @ -798,7 +798,7 @@ bool GMainWindow::LoadROM(const QString& filename) { | ||||||
| 
 | 
 | ||||||
|     game_path = filename; |     game_path = filename; | ||||||
| 
 | 
 | ||||||
|     Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "Qt"); |     system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "Qt"); | ||||||
|     return true; |     return true; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue