From 334853a13887b4a45445f786e72bb3b623c5c643 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 20 Aug 2015 01:31:36 +0100 Subject: [PATCH] Make sure program version gets into a problem report email. --- src/lib/send_problem_report_job.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/send_problem_report_job.cc b/src/lib/send_problem_report_job.cc index f08adea78..7c4a84486 100644 --- a/src/lib/send_problem_report_job.cc +++ b/src/lib/send_problem_report_job.cc @@ -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 (); -- 2.30.2