From 319365fdf05f49393a35240c023e10a8d86c7aa7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 2 Mar 2019 15:20:49 -0500 Subject: 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. --- src/yuzu/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yuzu/main.cpp') diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 1d460c189..62aafd1d7 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -846,7 +846,7 @@ bool GMainWindow::LoadROM(const QString& filename) { } game_path = filename; - Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "Qt"); + system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "Qt"); return true; } -- cgit v1.2.3