Optimise checking of existing image data.
[dcpomatic.git] / src / lib / send_problem_report_job.cc
index f08adea7861c27c57da1b16856a9a2b78da86707..2fb1a18a9078931c00d7790a78da861ac1ff2d2a 100644 (file)
@@ -24,6 +24,7 @@
 #include "film.h"
 #include "log.h"
 #include "quickmail.h"
+#include "version.h"
 
 #include "i18n.h"
 
@@ -67,6 +68,8 @@ SendProblemReportJob::run ()
 
        string body = _summary + "\n\n";
 
+       body += "Version: " + string (dcpomatic_version) + " " + string (dcpomatic_git_commit) + "\n\n";
+
        body += "log head and tail:\n";
        body += "---<8----\n";
        body += _film->log()->head_and_tail ();