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);