diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c6215e..7bdf9a1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,6 +93,7 @@ - Dev: Send multipart body for HTTP `PUT` requests. (#6746) - Dev: Removed unused variables. (#6748) - Dev: Updated `miniaudio` to 0.11.24. (#6754) +- Dev: Remove unused `reloadChannelAndSubscriberEmotes`. (#6756) ## 2.5.4 diff --git a/src/widgets/splits/Split.cpp b/src/widgets/splits/Split.cpp index 28837a33..c135e268 100644 --- a/src/widgets/splits/Split.cpp +++ b/src/widgets/splits/Split.cpp @@ -1260,19 +1260,6 @@ void Split::showSearch(bool singleChannel) popup->show(); } -void Split::reloadChannelAndSubscriberEmotes() -{ - auto channel = this->getChannel(); - - if (auto *twitchChannel = dynamic_cast(channel.get())) - { - twitchChannel->refreshTwitchChannelEmotes(true); - twitchChannel->refreshBTTVChannelEmotes(true); - twitchChannel->refreshFFZChannelEmotes(true); - twitchChannel->refreshSevenTVChannelEmotes(true); - } -} - void Split::reconnect() { this->getChannel()->reconnect(); diff --git a/src/widgets/splits/Split.hpp b/src/widgets/splits/Split.hpp index 20f4508f..1566f9a9 100644 --- a/src/widgets/splits/Split.hpp +++ b/src/widgets/splits/Split.hpp @@ -203,7 +203,6 @@ public Q_SLOTS: void showSearch(bool singleChannel); void openChatterList(); void openSubPage(); - void reloadChannelAndSubscriberEmotes(); void reconnect(); };