Added a Live status indicator to tabs
This commit is contained in:
@@ -413,8 +413,6 @@ void TwitchChannel::setLive(bool newLiveStatus)
|
||||
}
|
||||
auto live = makeSystemMessage(this->getName() + " is live");
|
||||
this->addMessage(live);
|
||||
this->tabHighlightRequested.invoke(
|
||||
HighlightState::Notification);
|
||||
} else {
|
||||
auto offline =
|
||||
makeSystemMessage(this->getName() + " is offline");
|
||||
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
const QString &subscriptionUrl();
|
||||
const QString &channelUrl();
|
||||
const QString &popoutPlayerUrl();
|
||||
bool isLive() const;
|
||||
virtual bool isLive() const override;
|
||||
QString roomId() const;
|
||||
AccessGuard<const RoomModes> accessRoomModes() const;
|
||||
AccessGuard<const StreamStatus> accessStreamStatus() const;
|
||||
|
||||
Reference in New Issue
Block a user