forked from openlp/openlp
fixes #1532193 - Typos in songusageplugin.py annother fix shamelessly ported from 2.4
This commit is contained in:
parent
37da12affd
commit
2be17b5c6f
@ -270,6 +270,12 @@ class Settings(QtCore.QSettings):
|
||||
('media/last directory', 'media/last directory', [(str_to_path, None)])
|
||||
]
|
||||
|
||||
__setting_upgrade_3__ = [
|
||||
('songuasge/db password', 'songusage/db password', [])
|
||||
('songuasge/db hostname', 'songusage/db hostname', [])
|
||||
('songuasge/db database', 'songusage/db database', [])
|
||||
]
|
||||
|
||||
@staticmethod
|
||||
def extend_default_settings(default_values):
|
||||
"""
|
||||
|
@ -44,9 +44,9 @@ if QtCore.QDate().currentDate().month() < 9:
|
||||
__default_settings__ = {
|
||||
'songusage/db type': 'sqlite',
|
||||
'songusage/db username': '',
|
||||
'songuasge/db password': '',
|
||||
'songuasge/db hostname': '',
|
||||
'songuasge/db database': '',
|
||||
'songusage/db password': '',
|
||||
'songusage/db hostname': '',
|
||||
'songusage/db database': '',
|
||||
'songusage/active': False,
|
||||
'songusage/to date': QtCore.QDate(YEAR, 8, 31),
|
||||
'songusage/from date': QtCore.QDate(YEAR - 1, 9, 1),
|
||||
|
Loading…
Reference in New Issue
Block a user