diff --git a/patches/main.patch b/patches/main.patch index 691c5bf..6df76c5 100644 --- a/patches/main.patch +++ b/patches/main.patch @@ -1,14 +1,9 @@ --- src/app/main.cpp +++ src/app/main.cpp -@@ -59,8 +59,9 @@ +@@ -57,8 +57,9 @@ - #ifdef Q_OS_UNIX - #include -#include -#include "stacktrace.h" +static inline void print_stacktrace(FILE *out = stderr, unsigned int max_frames = 63) { + fprintf(out, "stack trace:\n N/A (%d)", max_frames); +} - #endif // Q_OS_UNIX - -#ifdef STACKTRACE_WIN