code: def setup_metadata_db_path(self):
          
          settings = QSettings()
          path = settings.value(
              'inasafe.metadata35CachePath',
              self.default_metadata_db_path(), type=str)
          self.metadata_db_path = str(path)
docs: Helper to set the active path for the metadata.
  
          Called at init time, you can override this path by calling
          set_metadata_db_path.setmetadataDbPath.
  
          :returns: The path to where the metadata file is. If the user has
              never specified what this path is, the defaultmetadataDbPath is
              returned.
          :rtype: str