[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/gwenview/lib/document
From:       Aurélien Gâteau <aurelien.gateau () free ! fr>
Date:       2008-08-18 22:52:16
Message-ID: 1219099936.589842.2683.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 849060 by gateau:

Do not check current image number if format does not support animations.


 M  +1 -1      loadingdocumentimpl.cpp  


--- trunk/KDE/kdegraphics/gwenview/lib/document/loadingdocumentimpl.cpp #849059:849060
@@ -183,7 +183,7 @@
 			mImage = mImage.transformed(matrix);
 		}
 
-		if (reader.currentImageNumber() != -1) {
+		if (reader.supportsAnimation() && reader.currentImageNumber() != -1) {
 			LOG("This is an animated image");
 			mAnimated = true;
 		}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic