diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-02 21:20:49 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-04 16:24:13 +0100 |
commit | 319365fdf05f49393a35240c023e10a8d86c7aa7 (patch) | |
tree | 3062b228d9346d2c838d2382961d2af8741cb56a /src | |
parent | yuzu-cmd/yuzu: Replace direct usage of the global system telemetry accessor in main() (diff) | |
download | yuzu-319365fdf05f49393a35240c023e10a8d86c7aa7.tar yuzu-319365fdf05f49393a35240c023e10a8d86c7aa7.tar.gz yuzu-319365fdf05f49393a35240c023e10a8d86c7aa7.tar.bz2 yuzu-319365fdf05f49393a35240c023e10a8d86c7aa7.tar.lz yuzu-319365fdf05f49393a35240c023e10a8d86c7aa7.tar.xz yuzu-319365fdf05f49393a35240c023e10a8d86c7aa7.tar.zst yuzu-319365fdf05f49393a35240c023e10a8d86c7aa7.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/compatdb.cpp | 4 | ||||
-rw-r--r-- | src/yuzu/main.cpp | 2 |
2 files changed, 3 insertions, 3 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")); 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; } |