summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-12-14 23:48:02 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2019-12-14 23:48:28 +0100
commit7d6a015f36625269fe4d11e3c08c93f4d72c0976 (patch)
treea3aea48e0c97d587306c8206485595974840bd0f /src/main.cpp
parentIncrease max cache size and remove const from lmdb constants (diff)
downloadnheko-7d6a015f36625269fe4d11e3c08c93f4d72c0976.tar.xz
Add qml debugging option
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
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 <boost/stacktrace.hpp>
 #include <signal.h>
 
+#ifdef QML_DEBUGGING
+#include <QQmlDebuggingEnabler>
+QQmlDebuggingEnabler enabler;
+#endif
+
 void
 stacktraceHandler(int signum)
 {