X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fexamine_content_job.cc;h=3cab9716de3783576d92cd9e441d50e6d1765df8;hb=57f229171a08567efeaed678381808173e4ef7a5;hp=f68a1eea0e7e765301292c6ff1b66496e5b754cd;hpb=a4642b6463430175d0f4e1ca284a4bf08bcf4de9;p=dcpomatic.git diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc index f68a1eea0..3cab9716d 100644 --- a/src/lib/examine_content_job.cc +++ b/src/lib/examine_content_job.cc @@ -28,7 +28,7 @@ using std::string; using boost::shared_ptr; -ExamineContentJob::ExamineContentJob (shared_ptr f, shared_ptr c) +ExamineContentJob::ExamineContentJob (shared_ptr f, shared_ptr c) : Job (f) , _content (c) { @@ -49,7 +49,6 @@ void ExamineContentJob::run () { _content->examine (shared_from_this ()); - _film->add_content (_content); set_progress (1); set_state (FINISHED_OK); }