From a362af6a371f9c2ce705aaf75d7938b042009701 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Wed, 21 Jan 2026 10:10:52 +0100 Subject: [PATCH] chore: remove unused `reloadChannelAndSubscriberEmotes` (#6756) Reviewed-by: pajlada --- CHANGELOG.md | 1 + src/widgets/splits/Split.cpp | 13 ------------- src/widgets/splits/Split.hpp | 1 - 3 files changed, 1 insertion(+), 14 deletions(-) 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(); };