From 5e1e4c57a73dfaef7f6ae9ff233376b12a775704 Mon Sep 17 00:00:00 2001 From: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com> Date: Fri, 10 Jan 2025 10:34:26 -0800 Subject: [PATCH] add TODO comment for `update_thumbs()` optimization --- tagstudio/src/qt/ts_qt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tagstudio/src/qt/ts_qt.py b/tagstudio/src/qt/ts_qt.py index 1669844c..c67856c1 100644 --- a/tagstudio/src/qt/ts_qt.py +++ b/tagstudio/src/qt/ts_qt.py @@ -1126,6 +1126,8 @@ class QtDriver(DriverMixin, QObject): is_grid_thumb = True logger.info("[QtDriver] Loading Entries...") + # TODO: The full entries with joins don't need to be grabbed here. + # Use a method that only selects the frame content but doesn't include the joins. entries: list[Entry] = list(self.lib.get_entries_full(self.frame_content)) logger.info("[QtDriver] Building Filenames...") filenames: list[Path] = [self.lib.library_dir / e.path for e in entries]