From ee3da316828a4aefad2f12e1119014d0814778c2 Mon Sep 17 00:00:00 2001 From: M2j Date: Sun, 26 Feb 2012 16:15:00 +0100 Subject: [PATCH] Check for Qt version before calling QtCore.QLocale().createSeparatedList --- openlp/core/lib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/lib/__init__.py b/openlp/core/lib/__init__.py index d1e3b5308..4403ac8ec 100644 --- a/openlp/core/lib/__init__.py +++ b/openlp/core/lib/__init__.py @@ -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''