diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-14 18:15:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-15 22:33:26 +0200 |
| commit | 2e13ea8cf373a01de58068938e2e13d6628cf4b4 (patch) | |
| tree | 61af74b3dd9926570611268e29477098d303bddf /src/lib/check_content_job.cc | |
| parent | 5ed395b220ec5e0b1ee4399b94687990f683ec64 (diff) | |
White space: check_content_job.{cc,h}
Diffstat (limited to 'src/lib/check_content_job.cc')
| -rw-r--r-- | src/lib/check_content_job.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/check_content_job.cc b/src/lib/check_content_job.cc index 146fcd2a1..1d3bec659 100644 --- a/src/lib/check_content_job.cc +++ b/src/lib/check_content_job.cc @@ -38,37 +38,37 @@ using std::shared_ptr; using std::string; -CheckContentJob::CheckContentJob (shared_ptr<const Film> film) - : Job (film) +CheckContentJob::CheckContentJob(shared_ptr<const Film> film) + : Job(film) { } -CheckContentJob::~CheckContentJob () +CheckContentJob::~CheckContentJob() { - stop_thread (); + stop_thread(); } string -CheckContentJob::name () const +CheckContentJob::name() const { return _("Checking content"); } string -CheckContentJob::json_name () const +CheckContentJob::json_name() const { return N_("check_content"); } void -CheckContentJob::run () +CheckContentJob::run() { - set_progress_unknown (); + set_progress_unknown(); auto content = _film->content(); std::vector<shared_ptr<Content>> changed; - std::copy_if (content.begin(), content.end(), std::back_inserter(changed), [](shared_ptr<Content> c) { return c->changed(); }); + std::copy_if(content.begin(), content.end(), std::back_inserter(changed), [](shared_ptr<Content> c) { return c->changed(); }); if (_film->last_written_by_earlier_than(2, 17, 17)) { for (auto c: content) { @@ -82,9 +82,9 @@ CheckContentJob::run () if (!changed.empty()) { 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.")); + 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.")); } - set_progress (1); - set_state (FINISHED_OK); + set_progress(1); + set_state(FINISHED_OK); } |
