Normalize define naming
This commit is contained in:
+2
-2
@@ -20,7 +20,7 @@ CONFIG += precompile_header
|
|||||||
useBreakpad {
|
useBreakpad {
|
||||||
LIBS += -L$$PWD/lib/qBreakpad/handler/build
|
LIBS += -L$$PWD/lib/qBreakpad/handler/build
|
||||||
include(lib/qBreakpad/qBreakpad.pri)
|
include(lib/qBreakpad/qBreakpad.pri)
|
||||||
DEFINES += CHATTERINO_USE_BREAKPAD
|
DEFINES += C_USE_BREAKPAD
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://bugreports.qt.io/browse/QTBUG-27018
|
# https://bugreports.qt.io/browse/QTBUG-27018
|
||||||
@@ -450,4 +450,4 @@ win32-msvc* {
|
|||||||
|
|
||||||
linux {
|
linux {
|
||||||
QMAKE_LFLAGS += -lrt
|
QMAKE_LFLAGS += -lrt
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -23,7 +23,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CHATTERINO_USE_BREAKPAD
|
#ifdef C_USE_BREAKPAD
|
||||||
#include <QBreakpadHandler.h>
|
#include <QBreakpadHandler.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ int runGui(QApplication &a, int argc, char *argv[])
|
|||||||
|
|
||||||
app->construct();
|
app->construct();
|
||||||
|
|
||||||
#ifdef CHATTERINO_USE_BREAKPAD
|
#ifdef C_USE_BREAKPAD
|
||||||
QBreakpadInstance.setDumpPath(app->paths->settingsFolderPath + "/Crashes");
|
QBreakpadInstance.setDumpPath(app->paths->settingsFolderPath + "/Crashes");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ int runGui(QApplication &a, int argc, char *argv[])
|
|||||||
auto runningPath = pathMan.miscDirectory + "/running_" + pathMan.applicationFilePathHash;
|
auto runningPath = pathMan.miscDirectory + "/running_" + pathMan.applicationFilePathHash;
|
||||||
|
|
||||||
if (QFile::exists(runningPath)) {
|
if (QFile::exists(runningPath)) {
|
||||||
#ifndef DISABLE_CRASH_DIALOG
|
#ifndef C_DISABLE_CRASH_DIALOG
|
||||||
chatterino::LastRunCrashDialog dialog;
|
chatterino::LastRunCrashDialog dialog;
|
||||||
|
|
||||||
switch (dialog.exec()) {
|
switch (dialog.exec()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user