change method name

This commit is contained in:
Andreas Preikschat 2013-01-11 20:07:45 +01:00
parent 4e2f673655
commit 49d61c2e59
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ class Plugin(QtCore.QObject):
QtCore.QObject.__init__(self)
self.name = name
# 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.setPluginTextStrings()
self.nameStrings = self.textStrings[StringContent.Name]

View File

@ -204,7 +204,7 @@ class Settings(QtCore.QSettings):
}
@staticmethod
def extendDefaultSettings(defaultValues):
def extend_default_settings(defaultValues):
"""
Static method to merge the given ``defaultValues`` with the ``Settings.__default_settings__``.