Nicer job name with no film.
[dcpomatic.git] / src / lib / send_kdm_email_job.cc
index 43c399c255510ae456cf312bc2f9b39e28777383..5b37d8c87e2626d5969b4ea7f81b42022b6494b5 100644 (file)
@@ -49,6 +49,10 @@ SendKDMEmailJob::SendKDMEmailJob (
 string
 SendKDMEmailJob::name () const
 {
+       if (_film_name.empty ()) {
+               return _("Email KDMs");
+       }
+
        return String::compose (_("Email KDMs for %1"), _film_name);
 }