<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setup_metadata_db_path(self):
 """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 """

        settings = QSettings()
        path = settings.value(
            'inasafe.metadata35CachePath',
            self.default_metadata_db_path(), type=str)
        self.metadata_db_path = str(path)