forked from openlp/openlp
Settings to set default as ini format
This commit is contained in:
parent
357f876331
commit
7bc4c5f318
@ -260,7 +260,7 @@ def main(args=None):
|
|||||||
if options.portable:
|
if options.portable:
|
||||||
log.info(u'Running portable')
|
log.info(u'Running portable')
|
||||||
app.setApplicationName(u'OpenLPPortable')
|
app.setApplicationName(u'OpenLPPortable')
|
||||||
QtCore.QSettings.setDefaultFormat(QtCore.QSettings.IniFormat)
|
Settings.setDefaultFormat(Settings.IniFormat)
|
||||||
# Get location OpenLPPortable.ini
|
# Get location OpenLPPortable.ini
|
||||||
app_path = AppLocation.get_directory(AppLocation.AppDir)
|
app_path = AppLocation.get_directory(AppLocation.AppDir)
|
||||||
portable_settings_file = os.path.abspath(os.path.join(app_path, u'..',
|
portable_settings_file = os.path.abspath(os.path.join(app_path, u'..',
|
||||||
|
Loading…
Reference in New Issue
Block a user