Fix a bug with twitch channels and the livestatusChanged signal
This commit is contained in:
@@ -550,9 +550,9 @@ void ChannelView::setChannel(ChannelPtr newChannel)
|
|||||||
// Notifications
|
// Notifications
|
||||||
if (auto tc = dynamic_cast<TwitchChannel *>(newChannel.get()))
|
if (auto tc = dynamic_cast<TwitchChannel *>(newChannel.get()))
|
||||||
{
|
{
|
||||||
tc->liveStatusChanged.connect([this]() {
|
this->connections_.push_back(tc->liveStatusChanged.connect([this]() {
|
||||||
this->liveStatusChanged.invoke(); //
|
this->liveStatusChanged.invoke(); //
|
||||||
});
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user