fixed the language configuration save/load bug on OS X

This commit is contained in:
Matthias Hub 2011-03-10 03:13:05 +01:00
parent ee657c4053
commit 1312e0c913
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class LanguageManager(object):
"""
Retrieve a saved language to use from settings
"""
settings = QtCore.QSettings(u'OpenLP', u'OpenLP')
settings = QtCore.QSettings()
language = unicode(settings.value(
u'general/language', QtCore.QVariant(u'[en]')).toString())
log.info(u'Language file: \'%s\' Loaded from conf file' % language)