mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
fix compilation w/o Discord Rich Presence
This commit is contained in:
parent
98c7b232c4
commit
4ad2153378
1 changed files with 2 additions and 0 deletions
|
@ -83,7 +83,9 @@ void GeneralPane::OnEmulationStateChanged(Core::State state)
|
||||||
|
|
||||||
m_checkbox_dualcore->setEnabled(!running);
|
m_checkbox_dualcore->setEnabled(!running);
|
||||||
m_checkbox_cheats->setEnabled(!running);
|
m_checkbox_cheats->setEnabled(!running);
|
||||||
|
#ifdef USE_DISCORD_PRESENCE
|
||||||
m_checkbox_discord_presence->setEnabled(!running);
|
m_checkbox_discord_presence->setEnabled(!running);
|
||||||
|
#endif
|
||||||
|
|
||||||
for (QRadioButton* radio_button : m_cpu_cores)
|
for (QRadioButton* radio_button : m_cpu_cores)
|
||||||
radio_button->setEnabled(!running);
|
radio_button->setEnabled(!running);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue