fix: should show any animated image than just gif

This commit is contained in:
Gary Wang
2021-04-15 00:00:18 +08:00
parent 52a7883dbf
commit 8ae93ac4ae
4 changed files with 9 additions and 8 deletions

View File

@ -48,7 +48,7 @@ void GraphicsScene::showSvg(const QString &filepath)
this->setSceneRect(m_theThing->boundingRect());
}
void GraphicsScene::showGif(const QString &filepath)
void GraphicsScene::showAnimated(const QString &filepath)
{
this->clear();
QMovie * movie = new QMovie(filepath);