fix: disable autoInvoke for emote settings (#3990)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
+20
-12
@@ -179,18 +179,26 @@ 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();
|
||||
});
|
||||
getSettings()->enableBTTVGlobalEmotes.connect(
|
||||
[this] {
|
||||
this->twitch->reloadBTTVGlobalEmotes();
|
||||
},
|
||||
false);
|
||||
getSettings()->enableBTTVChannelEmotes.connect(
|
||||
[this] {
|
||||
this->twitch->reloadAllBTTVChannelEmotes();
|
||||
},
|
||||
false);
|
||||
getSettings()->enableFFZGlobalEmotes.connect(
|
||||
[this] {
|
||||
this->twitch->reloadFFZGlobalEmotes();
|
||||
},
|
||||
false);
|
||||
getSettings()->enableFFZChannelEmotes.connect(
|
||||
[this] {
|
||||
this->twitch->reloadAllFFZChannelEmotes();
|
||||
},
|
||||
false);
|
||||
|
||||
return qtApp.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user