forked from openlp/openlp
Fix locale test
This commit is contained in:
parent
c1c1de5472
commit
3e1ba89a41
@ -328,9 +328,8 @@ def create_separated_list(stringlist):
|
|||||||
``stringlist``
|
``stringlist``
|
||||||
List of unicode strings
|
List of unicode strings
|
||||||
"""
|
"""
|
||||||
#Not available via pyqt yet so will not work!
|
if Qt.PYQT_VERSION_STR >= u'4.9':
|
||||||
#if Qt.qVersion() >= u'4.8':
|
return unicode(QtCore.QLocale.createSeparatedList(stringlist))
|
||||||
# return unicode(QtCore.QLocale.createSeparatedList(stringlist))
|
|
||||||
if not stringlist:
|
if not stringlist:
|
||||||
return u''
|
return u''
|
||||||
elif len(stringlist) == 1:
|
elif len(stringlist) == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user