diff --git a/src/aocharmovie.cpp b/src/aocharmovie.cpp index 4de6366..ca0d152 100644 --- a/src/aocharmovie.cpp +++ b/src/aocharmovie.cpp @@ -178,15 +178,15 @@ void AOCharMovie::movie_ticker() // imagine if QT had sane stuff like "mirror on QMovie" or "resize the image on QT" or "interface with the current QMovie image" or anything else this->play_frame_sfx(); - if (m_movie->frameCount() == 0) { - //qDebug() << "Frame count was checked again, and it's still 0"; + + if (m_movie->frameCount() == 0) + { return; } - else if(!apng) { - ticker->start(m_movie->nextFrameDelay()); + else if (!apng) + { + ticker->start(m_movie->nextFrameDelay()); } - } - } void AOCharMovie::LoadImageWithStupidMethodForFlipSupport(QImage image)