diff --git a/Telegram/SourceFiles/gui/animation.cpp b/Telegram/SourceFiles/gui/animation.cpp index e096845cd..dcadbbbf4 100644 --- a/Telegram/SourceFiles/gui/animation.cpp +++ b/Telegram/SourceFiles/gui/animation.cpp @@ -484,7 +484,7 @@ public: , _frameDelay(0) { } - bool readNextFrame(QImage &to, bool &hasAlpha, const QSize &size) { + bool readNextFrame() { if (_reader) _frameDelay = _reader->nextImageDelay(); if (_framesLeft < 1 && !jumpToStart()) { return false;