mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-11-14 10:08:51 +01:00
Fix compilation error when ENABLE_DISCORD_RPC is not set
This commit is contained in:
1 parent
b87465fd8a
commit
43c9a4eccd
1 file changed
+1
-1
@@ -334,8 +334,8 @@ MainWindow::MainWindow()
|
||||
|
||||
LoadSettings();
|
||||
|
||||
#ifdef ENABLE_DISCORD_RPC
|
||||
auto& config = GetConfig();
|
||||
#ifdef ENABLE_DISCORD_RPC
|
||||
if (config.use_discord_presence)
|
||||
m_discord = std::make_unique<DiscordPresence>();
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user