fixed emote popup images

This commit is contained in:
fourtf
2018-06-04 12:48:23 +02:00
parent 4a2709cbc3
commit 5923e30132
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -450,7 +450,7 @@ void EmoteManager::refreshTwitchEmotes(const std::shared_ptr<TwitchAccount> &use
for (QJsonValue emoteValue : emoteSetList) {
QJsonObject emoticon = emoteValue.toObject();
std::string id = emoticon["id"].toString().toStdString();
std::string id = QString::number(emoticon["id"].toInt()).toStdString();
std::string code = emoticon["code"].toString().toStdString();
emoteData.emoteSets[emoteSetString].push_back({id, code});
emoteData.emoteCodes.push_back(code);