forked from openlp/openlp
better comment
This commit is contained in:
parent
98e731ee9a
commit
5d9e6acfbf
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user