fixed memory corruption

This commit is contained in:
fourtf
2018-09-17 12:51:16 +02:00
parent 1d097c3344
commit 47c93fb118
6 changed files with 17 additions and 18 deletions
-1
View File
@@ -217,7 +217,6 @@ void Emojis::loadEmojiSet()
auto app = getApp();
getSettings()->emojiSet.connect([=](const auto &emojiSet, auto) {
log("Using emoji set {}", emojiSet);
this->emojis.each([=](const auto &name,
std::shared_ptr<EmojiData> &emoji) {
QString emojiSetToUse = emojiSet;
-2
View File
@@ -46,8 +46,6 @@ void TwitchBadges::loadTwitchBadges()
// "title"
// "clickAction"
log("{} {}", key, vIt.key());
(*badgeSets)[key][vIt.key()] = std::make_shared<Emote>(emote);
}
}