File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ def __init__(self, inputArgs):
244244 meshroom .core .initSubmitters ()
245245
246246 # Initialize the list of recent project files
247- self ._recentProjectFiles = self ._getRecentProjectFiles ()
247+ self ._recentProjectFiles = self ._getRecentProjectFilesFromSettings ()
248248 # Flag set to True if, for all the project files in the list, thumbnails have been retrieved when they
249249 # are available. If set to False, then all the paths in the list are accurate, but some thumbnails might
250250 # be retrievable
@@ -381,15 +381,14 @@ def _retrieveThumbnailPath(self, filepath: str) -> str:
381381
382382 return thumbnail
383383
384- def _getRecentProjectFiles (self ) -> list [dict [str , str ]]:
384+ def _getRecentProjectFilesFromSettings (self ) -> list [dict [str , str ]]:
385385 """
386386 Read the list of recent project files from the QSettings, retrieve their filepath, and if it exists, their
387387 thumbnail.
388388
389389 Returns:
390- list[dict[str, str]]: The list containing dictionaries of the form {"path": "/path/to/project/file",
391- "thumbnail": "/path/to/thumbnail"}
392- based on the recent projects stored in the QSettings.
390+ The list containing dictionaries of the form {"path": "/path/to/project/file", "thumbnail":
391+ "/path/to/thumbnail"} based on the recent projects stored in the QSettings.
393392 """
394393 projects = []
395394 settings = QSettings ()
You can’t perform that action at this time.
0 commit comments