chore: replace usages of obsolete twitch struct with backing field (#3614)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
This commit is contained in:
@@ -142,13 +142,13 @@ void CompletionModel::refresh(const QString &prefix, bool isFirstWord)
|
||||
}
|
||||
|
||||
// Bttv Global
|
||||
for (auto &emote : *getApp()->twitch2->getBttvEmotes().emotes())
|
||||
for (auto &emote : *getApp()->twitch->getBttvEmotes().emotes())
|
||||
{
|
||||
addString(emote.first.string, TaggedString::Type::BTTVChannelEmote);
|
||||
}
|
||||
|
||||
// Ffz Global
|
||||
for (auto &emote : *getApp()->twitch2->getFfzEmotes().emotes())
|
||||
for (auto &emote : *getApp()->twitch->getFfzEmotes().emotes())
|
||||
{
|
||||
addString(emote.first.string, TaggedString::Type::FFZChannelEmote);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user