Rename KDMNameFormat.
[dcpomatic.git] / src / lib / send_kdm_email_job.cc
index 3bf1887f49df2bdf12bf9bade02a2026a03fa7f8..b06704545ab4e2321f7018938c20952770f15cd5 100644 (file)
@@ -33,7 +33,7 @@ using boost::shared_ptr;
 /** @param log Log to write to, or 0 */
 SendKDMEmailJob::SendKDMEmailJob (
        list<CinemaKDMs> cinema_kdms,
-       KDMNameFormat name_format,
+       KDMFilenameFormat name_format,
        dcp::NameFormat::Map name_values,
        string cpl_name,
        shared_ptr<Log> log
@@ -51,7 +51,7 @@ SendKDMEmailJob::SendKDMEmailJob (
 string
 SendKDMEmailJob::name () const
 {
-       dcp::NameFormat::Map::const_iterator i = _name_values.find ("film_name");
+       dcp::NameFormat::Map::const_iterator i = _name_values.find ('f');
        if (i == _name_values.end() || i->second.empty ()) {
                return _("Email KDMs");
        }