mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
Fix compilation error when ENABLE_DISCORD_RPC is not set
This commit is contained in:
@@ -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