better comment

This commit is contained in:
Andreas Preikschat 2011-06-06 16:58:14 +02:00
parent 98e731ee9a
commit 5d9e6acfbf

View File

@ -409,8 +409,7 @@ class MediaManagerItem(QtGui.QWidget):
thumb.save(thumb_path, ext[1:]) thumb.save(thumb_path, ext[1:])
if os.path.exists(thumb_path): if os.path.exists(thumb_path):
return build_icon(unicode(thumb_path)) return build_icon(unicode(thumb_path))
# When the thumbnail creation was not successful then create the icon # Fallback for files with animation support.
# from the original file.
return build_icon(unicode(image_path)) return build_icon(unicode(image_path))
def loadList(self, list): def loadList(self, list):