Permalink
Browse files

Merge pull request #7277 from cremno/fix-compilation-without-discord-…

…presence

fix compilation w/o Discord Rich Presence
  • Loading branch information...
JosJuice committed Jul 17, 2018
2 parents 98c7b23 + 4ad2153 commit 8d8707da2e772295286fe81aa6318e0ff6f17bff
Showing with 2 additions and 0 deletions.
  1. +2 −0 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);

0 comments on commit 8d8707d

Please sign in to comment.