2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix stack overflow crash in emoji panel hiding.

A call to hideChildren before setting _hiding to the desired value
could lead through leaveEvent to a recursive call to hideAnimated.
This commit is contained in:
John Preston
2019-04-30 12:56:21 +04:00
parent 5c3f93eee1
commit c9552390e7
2 changed files with 16 additions and 8 deletions

View File

@@ -77,7 +77,7 @@ private:
QImage grabForAnimation();
void startShowAnimation();
void startOpacityAnimation(bool hiding);
void prepareCache();
void prepareCacheFor(bool hiding);
void opacityAnimationCallback();