forked from openlp/openlp
fixed missing unicode
This commit is contained in:
parent
908e048d1a
commit
db00c5049a
@ -247,7 +247,7 @@ def get_images_filter():
|
||||
global IMAGES_FILTER
|
||||
if not IMAGES_FILTER:
|
||||
log.debug(u'Generating images filter.')
|
||||
formats = QtGui.QImageReader.supportedImageFormats()
|
||||
formats = map(unicode, QtGui.QImageReader.supportedImageFormats())
|
||||
visible_formats = u'(*.%s)' % u'; *.'.join(formats)
|
||||
actual_formats = u'(*.%s)' % u' *.'.join(formats)
|
||||
IMAGES_FILTER = u'%s %s %s' % (translate('OpenLP', 'Image Files'), visible_formats, actual_formats)
|
||||
|
Loading…
Reference in New Issue
Block a user