summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp
diff options
context:
space:
mode:
authoryourWaifu <wuhao64@gmail.com>2018-06-08 15:56:11 -0500
committerSleepy Flower Girl <wuhao64@gmail.com>2018-06-19 22:43:03 -0400
commit63f03455f32ab938806216e218342fe8921eaf27 (patch)
tree575900069ab452f06b27b1f92877a0b15f717db1 /Source/Core/DolphinWX/Config/GeneralConfigPane.cpp
parent57bd13a0ced5694cbeae24413bb5d9fe421a817a (diff)
Discord Rich Presence CMake integration
I have no idea if this works or not. Hopefully the build bot will tell me.
Diffstat (limited to 'Source/Core/DolphinWX/Config/GeneralConfigPane.cpp')
-rw-r--r--Source/Core/DolphinWX/Config/GeneralConfigPane.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp b/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp
index e742e4588d..6f7c66842c 100644
--- a/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp
+++ b/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp
@@ -20,6 +20,7 @@
#include "Common/Common.h"
#include "Core/Analytics.h"
+#include "Core/Config/UISettings.h"
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "Core/PowerPC/PowerPC.h"
@@ -161,7 +162,7 @@ void GeneralConfigPane::LoadGUIValues()
m_cheats_checkbox->SetValue(startup_params.bEnableCheats);
#ifdef USE_DISCORD_PRESENCE
- m_discord_presence_checkbox->SetValue(Config::Get(MAIN_USE_DISCORD_PRESENCE));
+ m_discord_presence_checkbox->SetValue(Config::Get(Config::MAIN_USE_DISCORD_PRESENCE));
#endif
#if defined(USE_ANALYTICS) && USE_ANALYTICS