Skip to content

Commit

Permalink
fix: fixed compilation issue when NO_CRASH_HANDLER compiler flag is set
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Jul 12, 2023
1 parent 7868e43 commit d0e71ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
#include <sys/stat.h>
#include <sys/time.h>

static QTranslator* qtTranslator = nullptr;
static QTranslator* translator = nullptr;

#ifndef NO_CRASH_HANDLER
#include "crash/airbag.h"
#include "crash/stacktrace.h"

static bool SPIN_ON_CRASH = false;

static QTranslator* qtTranslator = nullptr;
static QTranslator* translator = nullptr;

void onExceptionRaised(int fd)
{
Q_UNUSED(fd)
Expand Down

0 comments on commit d0e71ab

Please sign in to comment.