Key twitch emotes by QString instead of std::string
This commit is contained in:
@@ -72,7 +72,7 @@ void TwitchEmotes::refresh(const std::shared_ptr<TwitchAccount> &user)
|
||||
return;
|
||||
}
|
||||
|
||||
TwitchAccountEmoteData &emoteData = this->emotes[roomID.toStdString()];
|
||||
TwitchAccountEmoteData &emoteData = this->emotes[roomID];
|
||||
|
||||
if (emoteData.filled) {
|
||||
qDebug() << "Already loaded for room id " << roomID;
|
||||
|
||||
@@ -36,7 +36,7 @@ public:
|
||||
bool filled = false;
|
||||
};
|
||||
|
||||
std::map<std::string, TwitchAccountEmoteData> emotes;
|
||||
std::map<QString, TwitchAccountEmoteData> emotes;
|
||||
|
||||
private:
|
||||
// emote code
|
||||
|
||||
Reference in New Issue
Block a user