From 7e5a182d5035fca7b7ff787b6d04fe63243b765c Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sun, 22 Apr 2018 20:48:00 +0200 Subject: [PATCH] Add define to disable the crash dialog --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index ebc7be590..fb9fd648a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -82,8 +82,10 @@ int runGui(int argc, char *argv[]) auto runningPath = pathMan.settingsFolderPath + "/running_" + pathMan.appPathHash; if (QFile::exists(runningPath)) { +#ifndef DISABLE_CRASH_DIALOG chatterino::widgets::LastRunCrashDialog dialog; dialog.exec(); +#endif } else { QFile runningFile(runningPath);