Skip to content

Commit c7f6d5d

Browse files
committed
perf(ui): disable caching for cat GIFs in InstanceView
Signed-off-by: so5iso4ka <[email protected]>
1 parent 896ec32 commit c7f6d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launcher/ui/instanceview/InstanceView.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ void InstanceView::setPaintCat(bool visible)
566566

567567
if (catName.endsWith("gif")) {
568568
m_catMovie = new QMovie(catName);
569-
m_catMovie->setCacheMode(QMovie::CacheAll);
569+
m_catMovie->setCacheMode(QMovie::CacheNone);
570570
m_catMovie->setProperty("loopCount", -1);
571571

572572
if (!m_catMovie->isValid()) {

0 commit comments

Comments
 (0)