crashhandler: include git commit hash with crash report

This commit is contained in:
itsmattkc
2020-05-01 02:11:26 +10:00
parent 1f76c33f6b
commit 8c8bb45f7f
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ void crash_handler(int sig)
output.open(QFile::WriteOnly);
QTextStream ostream(&output);
ostream << "Signal: " << sig << "\n\n";
ostream << "Version: " << GITHASH << "\nSignal: " << sig << "\n\n";
#if defined(Q_OS_WINDOWS)
// Use Windows stackwalk API