From 7d6a015f36625269fe4d11e3c08c93f4d72c0976 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 14 Dec 2019 23:48:02 +0100 Subject: Add qml debugging option --- src/CommunitiesList.h | 1 - src/main.cpp | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/CommunitiesList.h b/src/CommunitiesList.h index fbb63ff0..49eaeaf6 100644 --- a/src/CommunitiesList.h +++ b/src/CommunitiesList.h @@ -53,4 +53,3 @@ private: std::map> communities_; }; - diff --git a/src/main.cpp b/src/main.cpp index 60bb6c76..87bef75b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -47,6 +47,11 @@ #include #include +#ifdef QML_DEBUGGING +#include +QQmlDebuggingEnabler enabler; +#endif + void stacktraceHandler(int signum) { -- cgit 1.5.1