added gif emotes

This commit is contained in:
fourtf
2017-02-07 00:03:15 +01:00
parent 5673efa0db
commit 5b03712a82
9 changed files with 118 additions and 16 deletions
+3 -2
View File
@@ -90,8 +90,9 @@ LazyLoadedImage::loadImage()
}
if (allFrames.size() > 1) {
QObject::connect(&Emotes::getGifUpdateTimer(), &QTimer::timeout,
[this] { gifUpdateTimout(); });
this->animated = true;
Emotes::getGifUpdateSignal().connect([this] { gifUpdateTimout(); });
}
Emotes::incGeneration();