Added a Live status indicator to tabs

This commit is contained in:
Rasmus Karlsson
2018-10-13 14:20:06 +02:00
parent 71a51d34c7
commit 49449379da
14 changed files with 104 additions and 51 deletions
+5
View File
@@ -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));
+1
View File
@@ -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();
-1
View File
@@ -17,7 +17,6 @@ enum class HighlightState {
None,
Highlighted,
NewMessage,
Notification,
};
inline QString qS(const std::string &string)