code: def removeSettingsGroup(groupName, settings=None):
      
      logger.debug("Removing settings group: {}".format(groupName))
      settings = QtCore.QSettings() if settings is None else settings
      settings.remove(groupName)
docs: Removes a group from the persistent settings