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',))
|
||||
log.info(u'Data path: %s' % data_path)
|
||||
# Point to our data path
|
||||
portable_settings.setValue(u'advanced/data path',data_path)
|
||||
portable_settings.setValue(u'advanced/is portable',True)
|
||||
portable_settings.setValue(u'advanced/data path', data_path)
|
||||
portable_settings.setValue(u'advanced/is portable', True)
|
||||
portable_settings.sync()
|
||||
else:
|
||||
app.setApplicationName(u'OpenLP')
|
||||
|
@ -59,7 +59,7 @@ class Settings(QtCore.QSettings):
|
||||
|
||||
def __init__(self, *args):
|
||||
if not args and Settings.filePath and (Settings.defaultFormat() ==
|
||||
Settings.IniFormat):
|
||||
Settings.IniFormat):
|
||||
QtCore.QSettings.__init__(self, Settings.filePath,
|
||||
Settings.IniFormat)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user