From 6b95ed7155bded94a65eb0bbd229fea02a67c6dc Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Tue, 15 Sep 2020 00:09:23 +0100 Subject: [PATCH] [breakpad] Add new annotation "short_version" --- src/blackmisc/crashhandler.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/blackmisc/crashhandler.cpp b/src/blackmisc/crashhandler.cpp index 9076a832d..fd6aaaf0b 100644 --- a/src/blackmisc/crashhandler.cpp +++ b/src/blackmisc/crashhandler.cpp @@ -69,11 +69,12 @@ namespace BlackMisc std::map annotations; // Backtrace annotations - annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da"; - annotations["format"] = "minidump"; - annotations["version"] = CBuildConfig::getVersionString().toStdString(); - annotations["platform"] = CBuildConfig::getPlatformString().toStdString(); - annotations["qtversion"] = QT_VERSION_STR; + annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da"; + annotations["format"] = "minidump"; + annotations["version"] = CBuildConfig::getVersionString().toStdString(); + annotations["short_version"] = CBuildConfig::getShortVersionString().toStdString(); + annotations["platform"] = CBuildConfig::getPlatformString().toStdString(); + annotations["qtversion"] = QT_VERSION_STR; // add our logfile const QString logAttachment = QStringLiteral("--attachment=attachment_%1=%2").arg(CFileLogger::getLogFileName(), CFileLogger::getLogFilePath());