diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-02 15:20:49 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-04 10:24:13 -0500 |
commit | 319365fdf05f49393a35240c023e10a8d86c7aa7 (patch) | |
tree | 3062b228d9346d2c838d2382961d2af8741cb56a /src/yuzu/compatdb.cpp | |
parent | 697a4669e1a3dd6150cd7f8b4f6dc794d7af7d92 (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.cpp | 4 |
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")); |