mirror of https://gitlab.com/openlp/openlp.git
Fixing qapp tests [skip ci]
This commit is contained in:
parent
9fec4d3b74
commit
5ad3f739d4
|
@ -75,6 +75,7 @@ def settings(qapp, registry):
|
|||
Settings().setDefaultFormat(QtCore.QSettings.Format.IniFormat)
|
||||
# Needed on windows to make sure a Settings object is available during the tests
|
||||
sets = Settings()
|
||||
sets.init_default_shortcuts()
|
||||
sets.setValue('themes/global theme', 'my_theme')
|
||||
registry.register('settings', sets)
|
||||
registry.register('settings_thread', sets)
|
||||
|
|
Loading…
Reference in New Issue