summaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-02 15:20:49 -0500
committerLioncash <mathew1800@gmail.com>2019-03-04 10:24:13 -0500
commit319365fdf05f49393a35240c023e10a8d86c7aa7 (patch)
tree3062b228d9346d2c838d2382961d2af8741cb56a /src/yuzu/main.cpp
parent697a4669e1a3dd6150cd7f8b4f6dc794d7af7d92 (diff)
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.
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}