Added a Live status indicator to tabs
This commit is contained in:
@@ -221,6 +221,11 @@ bool Channel::hasModRights() const
|
||||
return this->isMod() || this->isBroadcaster();
|
||||
}
|
||||
|
||||
bool Channel::isLive() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
std::shared_ptr<Channel> Channel::getEmpty()
|
||||
{
|
||||
static std::shared_ptr<Channel> channel(new Channel("", Type::None));
|
||||
|
||||
@@ -69,6 +69,7 @@ public:
|
||||
virtual bool isMod() const;
|
||||
virtual bool isBroadcaster() const;
|
||||
virtual bool hasModRights() const;
|
||||
virtual bool isLive() const;
|
||||
|
||||
static std::shared_ptr<Channel> getEmpty();
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ enum class HighlightState {
|
||||
None,
|
||||
Highlighted,
|
||||
NewMessage,
|
||||
Notification,
|
||||
};
|
||||
|
||||
inline QString qS(const std::string &string)
|
||||
|
||||
Reference in New Issue
Block a user