diff options
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 524ec9114b..edd4bb199a 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -79,6 +79,7 @@ #include "InputCommon/ControllerInterface/ControllerInterface.h" +#include "UICommon/DiscordPresence.h" #include "UICommon/UICommon.h" #if defined(HAVE_XRANDR) && HAVE_XRANDR @@ -569,6 +570,7 @@ void MainWindow::OnStopComplete() m_stop_requested = false; HideRenderWidget(); EnableScreenSaver(true); + Discord::UpdateDiscordPresence(); SetFullScreenResolution(false); @@ -719,6 +721,7 @@ void MainWindow::StartGame(std::unique_ptr<BootParameters>&& parameters) return; } ShowRenderWidget(); + Discord::UpdateDiscordPresence(); #ifdef Q_OS_WIN // Prevents Windows from sleeping, turning off the display, or idling |
