From 93ae21abfcce1c6b36e5cd68d23045f2b9ac438d Mon Sep 17 00:00:00 2001 From: Forkk Date: Fri, 9 May 2014 17:33:32 -0500 Subject: Implement crash handling on Linux This will allow us to generate crash dumps and have users report crashes. --- BuildConfig.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'BuildConfig.h') diff --git a/BuildConfig.h b/BuildConfig.h index baf2ad6d..5e10beb0 100644 --- a/BuildConfig.h +++ b/BuildConfig.h @@ -61,10 +61,14 @@ public: /// The commit hash of this build QString GIT_COMMIT; + const char* GIT_COMMIT_CSTR; /// This is printed on start to standard output QString VERSION_STR; + /// Version string as a char string. Used by the crash handling system to avoid touching heap memory. + const char* VERSION_CSTR; + /** * This is used to fetch the news RSS feed. * It defaults in CMakeLists.txt to "http://multimc.org/rss.xml" -- cgit v1.2.3