Fix global emotes from not loading

We didn't called initialize properly on the EmoteManager

Fix #374
This commit is contained in:
Rasmus Karlsson 2018-05-06 14:36:21 +02:00
parent 5efc2c38d8
commit 12766f3b60
3 changed files with 1 additions and 6 deletions

View file

@ -101,7 +101,7 @@ void Application::initialize()
this->highlights->initialize();
this->emotes->loadGlobalEmotes();
this->emotes->initialize();
this->accounts->load();

View file

@ -91,10 +91,7 @@ void EmoteManager::initialize()
assert(currentUser);
this->refreshTwitchEmotes(currentUser);
});
}
void EmoteManager::loadGlobalEmotes()
{
this->loadEmojis();
this->loadBTTVEmotes();
this->loadFFZEmotes();

View file

@ -29,8 +29,6 @@ public:
void initialize();
void loadGlobalEmotes();
void reloadBTTVChannelEmotes(const QString &channelName,
std::weak_ptr<util::EmoteMap> channelEmoteMap);
void reloadFFZChannelEmotes(const QString &channelName,