projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests of Player::dcp_to_content_video, content_video_to_dcp and
[dcpomatic.git]
/
src
/
lib
/
send_kdm_email_job.cc
diff --git
a/src/lib/send_kdm_email_job.cc
b/src/lib/send_kdm_email_job.cc
index 1dec2ffb001dc7ce77fdfd4d1c595e8646bb90c9..cddf424f4a4d8aec0a20de8af2828c64995fc281 100644
(file)
--- a/
src/lib/send_kdm_email_job.cc
+++ b/
src/lib/send_kdm_email_job.cc
@@
-29,14
+29,14
@@
using std::list;
using boost::shared_ptr;
SendKDMEmailJob::SendKDMEmailJob (
using boost::shared_ptr;
SendKDMEmailJob::SendKDMEmailJob (
- shared_ptr<const Film> f,
+ shared_ptr<const Film> f
ilm
,
list<shared_ptr<Screen> > screens,
boost::filesystem::path dcp,
boost::posix_time::ptime from,
boost::posix_time::ptime to,
list<shared_ptr<Screen> > screens,
boost::filesystem::path dcp,
boost::posix_time::ptime from,
boost::posix_time::ptime to,
-
libdcp::KDM
::Formulation formulation
+
dcp
::Formulation formulation
)
)
- : Job (f)
+ : Job (f
ilm
)
, _screens (screens)
, _dcp (dcp)
, _from (from)
, _screens (screens)
, _dcp (dcp)
, _from (from)
@@
-62,12
+62,12
@@
void
SendKDMEmailJob::run ()
{
try {
SendKDMEmailJob::run ()
{
try {
-
+
set_progress_unknown ();
email_kdms (_film, _screens, _dcp, _from, _to, _formulation);
set_progress (1);
set_state (FINISHED_OK);
set_progress_unknown ();
email_kdms (_film, _screens, _dcp, _from, _to, _formulation);
set_progress (1);
set_state (FINISHED_OK);
-
+
} catch (std::exception& e) {
set_progress (1);
} catch (std::exception& e) {
set_progress (1);