discord-rpc: Formatting

This commit is contained in:
Jonas Kvinge
2025-04-11 23:27:40 +02:00
parent f9e4f9a09a
commit 634f6ea9f5
20 changed files with 291 additions and 290 deletions

View File

@@ -52,7 +52,7 @@ RichPresence::RichPresence(const SharedPtr<Player> player,
send_presence_timestamp_(0),
enabled_(false) {
Discord_Initialize(kDiscordApplicationId, nullptr, 1, nullptr);
Discord_Initialize(kDiscordApplicationId, nullptr, 1);
QObject::connect(&*player_->engine(), &EngineBase::StateChanged, this, &RichPresence::EngineStateChanged);
QObject::connect(&*playlist_manager_, &PlaylistManager::CurrentSongChanged, this, &RichPresence::CurrentSongChanged);