fix compilation w/o Discord Rich Presence

This commit is contained in:
cremno 2018-07-17 12:03:41 +02:00
parent 98c7b232c4
commit 4ad2153378

View File

@ -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);