From 4ad21533780afb2ef6964c622b921709209e3295 Mon Sep 17 00:00:00 2001 From: cremno Date: Tue, 17 Jul 2018 12:03:41 +0200 Subject: [PATCH] fix compilation w/o Discord Rich Presence --- Source/Core/DolphinQt/Settings/GeneralPane.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt/Settings/GeneralPane.cpp b/Source/Core/DolphinQt/Settings/GeneralPane.cpp index d962497951..65b03b0260 100644 --- a/Source/Core/DolphinQt/Settings/GeneralPane.cpp +++ b/Source/Core/DolphinQt/Settings/GeneralPane.cpp @@ -83,7 +83,9 @@ void GeneralPane::OnEmulationStateChanged(Core::State state) m_checkbox_dualcore->setEnabled(!running); m_checkbox_cheats->setEnabled(!running); +#ifdef USE_DISCORD_PRESENCE m_checkbox_discord_presence->setEnabled(!running); +#endif for (QRadioButton* radio_button : m_cpu_cores) radio_button->setEnabled(!running);