summaryrefslogtreecommitdiff
path: root/src/lib/check_content_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-15 02:19:35 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-15 11:10:47 +0200
commit847daf7ec0f741eb6d50638c2096743ee731634c (patch)
tree8fba9c9571d0579151dcca8876cd22c5062825e6 /src/lib/check_content_job.cc
parent66a6aea50054a5af8624c7d36949c642f4c8b619 (diff)
Change ExamineContentJob to take a vector of content.
Diffstat (limited to 'src/lib/check_content_job.cc')
-rw-r--r--src/lib/check_content_job.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/check_content_job.cc b/src/lib/check_content_job.cc
index bb43158ae..146fcd2a1 100644
--- a/src/lib/check_content_job.cc
+++ b/src/lib/check_content_job.cc
@@ -81,9 +81,7 @@ CheckContentJob::run ()
}
if (!changed.empty()) {
- for (auto i: changed) {
- JobManager::instance()->add(make_shared<ExamineContentJob>(_film, i, false));
- }
+ JobManager::instance()->add(make_shared<ExamineContentJob>(_film, changed, false));
set_message (_("Some files have been changed since they were added to the project.\n\nThese files will now be re-examined, so you may need to check their settings."));
}