aboutsummaryrefslogtreecommitdiff
path: root/BuildConfig.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-05-21 15:57:34 +0200
committerJan Dalheimer <jan@dalheimer.de>2014-05-21 15:57:34 +0200
commitfc3c0b09719927fa8e0ce63a93b8f461f4928fdb (patch)
treeed81f15b305da904d63d0e0e74643aa0800a0919 /BuildConfig.h
parent94cb5c7d770866269d1a61ec6b3c76607eccee6f (diff)
parente6ca58a89e12bb2c7636dac91b6a1a609c6780b3 (diff)
downloadPrismLauncher-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.tar.gz
PrismLauncher-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.tar.bz2
PrismLauncher-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.zip
Merge branch 'feature_crashreport' into develop
Diffstat (limited to 'BuildConfig.h')
-rw-r--r--BuildConfig.h4
1 files changed, 4 insertions, 0 deletions
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"