Add define to disable the crash dialog
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user