Bound TGS decoding and keep invalid icons out of animation

This commit is contained in:
evgeny committed 2026-10-27 03:33:50 +01:00
1 parent 41ce04e2f0
commit b0acb285c1
5 files changed
+166 -66

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ void AnimTimer::shutdown() {
}
void AnimTimer::registerIcon(const QString &key, LottieIcon *icon) {
if (!icon || !icon->isValid()) { GUI_WARN("AnimTimer: invalid icon registration key=%s", qPrintable(key)); return; }
m_icons.insert(key, icon);
}