From 0f9ef9d0aa32bbc0b8050fea761368c11a4832fd Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 10 Nov 2018 14:30:19 +0100 Subject: [PATCH] Fix a bug with twitch channels and the livestatusChanged signal --- src/widgets/helper/ChannelView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index 4685ba2c..e8ed1edd 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -550,9 +550,9 @@ void ChannelView::setChannel(ChannelPtr newChannel) // Notifications if (auto tc = dynamic_cast(newChannel.get())) { - tc->liveStatusChanged.connect([this]() { + this->connections_.push_back(tc->liveStatusChanged.connect([this]() { this->liveStatusChanged.invoke(); // - }); + })); } }