diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp index 072fd721a..a75c1b8f2 100644 --- a/src/providers/twitch/TwitchChannel.cpp +++ b/src/providers/twitch/TwitchChannel.cpp @@ -89,7 +89,6 @@ TwitchChannel::TwitchChannel(const QString &name, { log("[TwitchChannel:{}] Opened", name); - this->tabHighlightRequested.connect([](HighlightState state) {}); this->liveStatusChanged.connect([this]() { if (this->isLive() == 1) { } diff --git a/src/providers/twitch/TwitchChannel.hpp b/src/providers/twitch/TwitchChannel.hpp index 1411e8894..edc6b7af2 100644 --- a/src/providers/twitch/TwitchChannel.hpp +++ b/src/providers/twitch/TwitchChannel.hpp @@ -92,7 +92,6 @@ public: pajlada::Signals::NoArgSignal userStateChanged; pajlada::Signals::NoArgSignal liveStatusChanged; pajlada::Signals::NoArgSignal roomModesChanged; - pajlada::Signals::Signal tabHighlightRequested; protected: void addRecentChatter(const MessagePtr &message) override; diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index 8f9ff2917..d4f9242b9 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -552,11 +552,7 @@ void ChannelView::setChannel(ChannelPtr newChannel) this->queueUpdate(); // Notifications - TwitchChannel *tc = dynamic_cast(newChannel.get()); - if (tc != nullptr) { - tc->tabHighlightRequested.connect([this](HighlightState state) { - this->tabHighlightRequested.invoke(state); - }); + if (auto tc = dynamic_cast(newChannel.get())) { tc->liveStatusChanged.connect([this]() { this->liveStatusChanged.invoke(); // });