diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-09-03 20:16:20 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-07 13:50:13 -0400 |
commit | b6894bfc5b86c2fae0b401f2cfc294a08994781d (patch) | |
tree | 31f616dbc048740209668a15947b04c10c31caca /src/yuzu/main.cpp | |
parent | 4ce53ffe6a61cb853f2fdd88211f35cec63e2f70 (diff) |
discord_impl: Remove global system instances
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 1d9e0f79d..8140e659b 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -3431,7 +3431,7 @@ void GMainWindow::OnLanguageChanged(const QString& locale) { void GMainWindow::SetDiscordEnabled([[maybe_unused]] bool state) { #ifdef USE_DISCORD_PRESENCE if (state) { - discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>(); + discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>(system); } else { discord_rpc = std::make_unique<DiscordRPC::NullImpl>(); } |