fixes twitch emotes position

changes the position in unicodepoints to position in char16 array
(qstring)
This commit is contained in:
hemirt
2018-11-17 11:00:44 +01:00
parent 27eb2d8abc
commit d2e43d78fc
2 changed files with 16 additions and 28 deletions
@@ -55,9 +55,8 @@ private:
void appendUsername();
void parseHighlights(bool isPastMsg);
void appendTwitchEmote(
const QString &emote,
std::vector<std::tuple<int, EmotePtr, EmoteName>> &vec);
void appendTwitchEmote(const QString &emote,
std::vector<std::tuple<int, EmotePtr, EmoteName>> &vec, std::vector<int> &correctPositions);
Outcome tryAppendEmote(const EmoteName &name);
void addWords(