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. --- MultiMC.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'MultiMC.h') diff --git a/MultiMC.h b/MultiMC.h index cb37b1e6..2455cbb4 100644 --- a/MultiMC.h +++ b/MultiMC.h @@ -48,6 +48,9 @@ enum UpdateFlag Q_DECLARE_FLAGS(UpdateFlags, UpdateFlag); Q_DECLARE_OPERATORS_FOR_FLAGS(UpdateFlags); +// Global var used by the crash handling system to determine if a log file should be included in a crash report. +extern bool loggerInitialized; + class MultiMC : public QApplication { Q_OBJECT -- cgit v1.2.3