forked from openlp/openlp
Fixed some cosmedics
This commit is contained in:
parent
245c0acd89
commit
8365d6f589
@ -276,8 +276,8 @@ def main(args=None):
|
|||||||
u'..', u'..', u'Data',))
|
u'..', u'..', u'Data',))
|
||||||
log.info(u'Data path: %s' % data_path)
|
log.info(u'Data path: %s' % data_path)
|
||||||
# Point to our data path
|
# Point to our data path
|
||||||
portable_settings.setValue(u'advanced/data path',data_path)
|
portable_settings.setValue(u'advanced/data path', data_path)
|
||||||
portable_settings.setValue(u'advanced/is portable',True)
|
portable_settings.setValue(u'advanced/is portable', True)
|
||||||
portable_settings.sync()
|
portable_settings.sync()
|
||||||
else:
|
else:
|
||||||
app.setApplicationName(u'OpenLP')
|
app.setApplicationName(u'OpenLP')
|
||||||
|
@ -59,7 +59,7 @@ class Settings(QtCore.QSettings):
|
|||||||
|
|
||||||
def __init__(self, *args):
|
def __init__(self, *args):
|
||||||
if not args and Settings.filePath and (Settings.defaultFormat() ==
|
if not args and Settings.filePath and (Settings.defaultFormat() ==
|
||||||
Settings.IniFormat):
|
Settings.IniFormat):
|
||||||
QtCore.QSettings.__init__(self, Settings.filePath,
|
QtCore.QSettings.__init__(self, Settings.filePath,
|
||||||
Settings.IniFormat)
|
Settings.IniFormat)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user