mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Merge pull request #7277 from cremno/fix-compilation-without-discord-presence
fix compilation w/o Discord Rich Presence
This commit is contained in:
commit
8d8707da2e
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