Key twitch emotes by QString instead of std::string

This commit is contained in:
Rasmus Karlsson
2018-06-07 12:36:06 +02:00
parent e8683c3e8e
commit 3bc7e2da8a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -36,7 +36,7 @@ public:
bool filled = false;
};
std::map<std::string, TwitchAccountEmoteData> emotes;
std::map<QString, TwitchAccountEmoteData> emotes;
private:
// emote code