feat: add settings to toggle BTTV/FFZ global/channel emotes (#3935)
* feat: add settings to disable BTTV/FFZ global/channel emotes * docs: add changelog entry * fix: capitalize `BTTV` and `FFZ` * fix: rename and move settings
This commit is contained in:
@@ -179,6 +179,19 @@ int Application::run(QApplication &qtApp)
|
||||
this->windows->forceLayoutChannelViews();
|
||||
});
|
||||
|
||||
getSettings()->enableBTTVGlobalEmotes.connect([this] {
|
||||
this->twitch->reloadBTTVGlobalEmotes();
|
||||
});
|
||||
getSettings()->enableBTTVChannelEmotes.connect([this] {
|
||||
this->twitch->reloadAllBTTVChannelEmotes();
|
||||
});
|
||||
getSettings()->enableFFZGlobalEmotes.connect([this] {
|
||||
this->twitch->reloadFFZGlobalEmotes();
|
||||
});
|
||||
getSettings()->enableFFZChannelEmotes.connect([this] {
|
||||
this->twitch->reloadAllFFZChannelEmotes();
|
||||
});
|
||||
|
||||
return qtApp.exec();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user