mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Normalize define naming
This commit is contained in:
parent
10df071077
commit
8ff29ebe05
2 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@ CONFIG += precompile_header
|
|||
useBreakpad {
|
||||
LIBS += -L$$PWD/lib/qBreakpad/handler/build
|
||||
include(lib/qBreakpad/qBreakpad.pri)
|
||||
DEFINES += CHATTERINO_USE_BREAKPAD
|
||||
DEFINES += C_USE_BREAKPAD
|
||||
}
|
||||
|
||||
# https://bugreports.qt.io/browse/QTBUG-27018
|
||||
|
@ -450,4 +450,4 @@ win32-msvc* {
|
|||
|
||||
linux {
|
||||
QMAKE_LFLAGS += -lrt
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifdef CHATTERINO_USE_BREAKPAD
|
||||
#ifdef C_USE_BREAKPAD
|
||||
#include <QBreakpadHandler.h>
|
||||
#endif
|
||||
|
||||
|
@ -87,7 +87,7 @@ int runGui(QApplication &a, int argc, char *argv[])
|
|||
|
||||
app->construct();
|
||||
|
||||
#ifdef CHATTERINO_USE_BREAKPAD
|
||||
#ifdef C_USE_BREAKPAD
|
||||
QBreakpadInstance.setDumpPath(app->paths->settingsFolderPath + "/Crashes");
|
||||
#endif
|
||||
|
||||
|
@ -96,7 +96,7 @@ int runGui(QApplication &a, int argc, char *argv[])
|
|||
auto runningPath = pathMan.miscDirectory + "/running_" + pathMan.applicationFilePathHash;
|
||||
|
||||
if (QFile::exists(runningPath)) {
|
||||
#ifndef DISABLE_CRASH_DIALOG
|
||||
#ifndef C_DISABLE_CRASH_DIALOG
|
||||
chatterino::LastRunCrashDialog dialog;
|
||||
|
||||
switch (dialog.exec()) {
|
||||
|
|
Loading…
Reference in a new issue