Make sure program version gets into a problem report email.
authorCarl Hetherington <cth@carlh.net>
Thu, 20 Aug 2015 00:31:36 +0000 (01:31 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 20 Aug 2015 00:31:36 +0000 (01:31 +0100)
src/lib/send_problem_report_job.cc

index f08adea7861c27c57da1b16856a9a2b78da86707..7c4a8448602eeeb3a1ef98c163a887e45e5fa7fe 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 += string (dcpomatic_version) + " " + string (dcpomatic_git_commit) + "\n\n";
+
        body += "log head and tail:\n";
        body += "---<8----\n";
        body += _film->log()->head_and_tail ();