2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

fixed code for old Qt versions

This commit is contained in:
John Preston
2015-12-03 22:55:44 +03:00
parent 5502f2503f
commit de8ffc78d7
4 changed files with 10 additions and 5 deletions

View File

@@ -2668,7 +2668,8 @@ void EmojiPan::onRemoveSetSure() {
}
}
cRefStickerSets().erase(it);
cRefStickerSetsOrder().removeOne(_removingSetId);
int32 removeIndex = cStickerSetsOrder().indexOf(_removingSetId);
if (removeIndex >= 0) cRefStickerSetsOrder().removeAt(removeIndex);
cSetStickersHash(stickersCountHash());
refreshStickers();
Local::writeStickers();