def METHOD_NAME(self):
    """
    Saves the settings to the persistent settings file.
    """
    # save the settings
    LocalConfig.instance().saveSectionSettings(self.__class__.__name__, self._settings)
    server_settings = {"enable_hardware_acceleration": self._settings["enable_hardware_acceleration"],
                       "require_hardware_acceleration": self._settings["require_hardware_acceleration"]}
    LocalServerConfig.instance().saveSettings(self.__class__.__name__, server_settings)