projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some left-over JSON bits.
[dcpomatic.git]
/
src
/
lib
/
examine_content_job.cc
diff --git
a/src/lib/examine_content_job.cc
b/src/lib/examine_content_job.cc
index f68a1eea0e7e765301292c6ff1b66496e5b754cd..cbf180ffcb3bf451379e410039d5d28dfed75d80 100644
(file)
--- a/
src/lib/examine_content_job.cc
+++ b/
src/lib/examine_content_job.cc
@@
-26,9
+26,10
@@
#include "i18n.h"
using std::string;
#include "i18n.h"
using std::string;
+using std::cout;
using boost::shared_ptr;
using boost::shared_ptr;
-ExamineContentJob::ExamineContentJob (shared_ptr<Film> f, shared_ptr<Content> c)
+ExamineContentJob::ExamineContentJob (shared_ptr<
const
Film> f, shared_ptr<Content> c)
: Job (f)
, _content (c)
{
: Job (f)
, _content (c)
{
@@
-49,7
+50,6
@@
void
ExamineContentJob::run ()
{
_content->examine (shared_from_this ());
ExamineContentJob::run ()
{
_content->examine (shared_from_this ());
- _film->add_content (_content);
set_progress (1);
set_state (FINISHED_OK);
}
set_progress (1);
set_state (FINISHED_OK);
}