projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a9a577
)
Make sure program version gets into a problem report email.
author
Carl Hetherington
<cth@carlh.net>
Thu, 20 Aug 2015 00:31:36 +0000
(
01:31
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 20 Aug 2015 00:31:36 +0000
(
01:31
+0100)
src/lib/send_problem_report_job.cc
patch
|
blob
|
history
diff --git
a/src/lib/send_problem_report_job.cc
b/src/lib/send_problem_report_job.cc
index f08adea7861c27c57da1b16856a9a2b78da86707..7c4a8448602eeeb3a1ef98c163a887e45e5fa7fe 100644
(file)
--- 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 ();