summaryrefslogtreecommitdiff
path: root/src/yuzu/compatdb.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/compatdb.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/compatdb.cpp')
-rw-r--r--src/yuzu/compatdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/compatdb.cpp b/src/yuzu/compatdb.cpp
index c09a06520..c8b0a5ec0 100644
--- a/src/yuzu/compatdb.cpp
+++ b/src/yuzu/compatdb.cpp
@@ -53,8 +53,8 @@ void CompatDB::Submit() {
case CompatDBPage::Final:
back();
LOG_DEBUG(Frontend, "Compatibility Rating: {}", compatibility->checkedId());
- Core::Telemetry().AddField(Telemetry::FieldType::UserFeedback, "Compatibility",
- compatibility->checkedId());
+ Core::System::GetInstance().TelemetrySession().AddField(
+ Telemetry::FieldType::UserFeedback, "Compatibility", compatibility->checkedId());
button(NextButton)->setEnabled(false);
button(NextButton)->setText(tr("Submitting"));