add menu option to reload subscriber emotes
This commit is contained in:
@@ -230,6 +230,7 @@ std::unique_ptr<QMenu> SplitHeader::createMainMenu()
|
||||
|
||||
menu->addSeparator();
|
||||
menu->addAction("Reload channel emotes", this, SLOT(reloadChannelEmotes()));
|
||||
menu->addAction("Reload subscriber emotes", this, SLOT(reloadSubscriberEmotes()));
|
||||
menu->addAction("Reconnect", this, SLOT(reconnect()));
|
||||
menu->addAction("Clear messages", this->split_, &Split::clear);
|
||||
// menu->addSeparator();
|
||||
@@ -539,6 +540,11 @@ void SplitHeader::reloadChannelEmotes()
|
||||
twitchChannel->refreshChannelEmotes();
|
||||
}
|
||||
|
||||
void SplitHeader::reloadSubscriberEmotes()
|
||||
{
|
||||
getApp()->accounts->twitch.getCurrent()->loadEmotes();
|
||||
}
|
||||
|
||||
void SplitHeader::reconnect()
|
||||
{
|
||||
getApp()->twitch.server->connect();
|
||||
|
||||
Reference in New Issue
Block a user