def deleteProfile(self, profile):
        """ Removes a profile from the persistent settings
        """
        profGroupName = self.profileGroupName(profile)
        logger.debug("Resetting profile settings: {}".format(profGroupName))
        settings = QtCore.QSettings()
        settings.remove(profGroupName)