forked from openlp/openlp
Check for Qt version before calling QtCore.QLocale().createSeparatedList
bzr-revno: 1885 Fixes: https://launchpad.net/bugs/902115
This commit is contained in:
commit
9dadcb9217
@ -328,7 +328,7 @@ def create_separated_list(stringlist):
|
||||
``stringlist``
|
||||
List of unicode strings
|
||||
"""
|
||||
if Qt.PYQT_VERSION_STR >= u'4.9':
|
||||
if Qt.PYQT_VERSION_STR >= u'4.9' and Qt.qVersion() >= u'4.8':
|
||||
return unicode(QtCore.QLocale().createSeparatedList(stringlist))
|
||||
if not stringlist:
|
||||
return u''
|
||||
|
Loading…
Reference in New Issue
Block a user