2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

gif autoplay improved

This commit is contained in:
John Preston
2015-12-23 22:23:14 +03:00
parent 6170144fe9
commit b94533fcb2
18 changed files with 401 additions and 226 deletions

View File

@@ -149,6 +149,7 @@ void StickerSetInner::paintEvent(QPaintEvent *e) {
} else {
bool already = !doc->already().isEmpty(), hasdata = !doc->data.isEmpty();
if (!already && !hasdata && !doc->loader && doc->status == FileReady) {
doc->openOnSave = 0;
doc->save(QString());
}
if (doc->sticker()->img->isNull() && (already || hasdata)) {