forked from openlp/openlp
change method name
This commit is contained in:
parent
4e2f673655
commit
49d61c2e59
@ -151,7 +151,7 @@ class Plugin(QtCore.QObject):
|
|||||||
QtCore.QObject.__init__(self)
|
QtCore.QObject.__init__(self)
|
||||||
self.name = name
|
self.name = name
|
||||||
# TODO: Should we overwrite the plugins status so that third party plugins cannot be enabled by default?
|
# TODO: Should we overwrite the plugins status so that third party plugins cannot be enabled by default?
|
||||||
Settings.extendDefaultSettings(default_settings)
|
Settings.extend_default_settings(default_settings)
|
||||||
self.textStrings = {}
|
self.textStrings = {}
|
||||||
self.setPluginTextStrings()
|
self.setPluginTextStrings()
|
||||||
self.nameStrings = self.textStrings[StringContent.Name]
|
self.nameStrings = self.textStrings[StringContent.Name]
|
||||||
|
@ -204,7 +204,7 @@ class Settings(QtCore.QSettings):
|
|||||||
}
|
}
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def extendDefaultSettings(defaultValues):
|
def extend_default_settings(defaultValues):
|
||||||
"""
|
"""
|
||||||
Static method to merge the given ``defaultValues`` with the ``Settings.__default_settings__``.
|
Static method to merge the given ``defaultValues`` with the ``Settings.__default_settings__``.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user