summary refs log tree commit diff
path: root/src
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
parentIncrease max cache size and remove const from lmdb constants (diff)
downloadnheko-7d6a015f36625269fe4d11e3c08c93f4d72c0976.tar.xz
Add qml debugging option
Diffstat (limited to 'src')
-rw-r--r--src/CommunitiesList.h1
-rw-r--r--src/main.cpp5
2 files changed, 5 insertions, 1 deletions
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<QString, QSharedPointer<CommunitiesListItem>> 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 <boost/stacktrace.hpp> #include <signal.h> +#ifdef QML_DEBUGGING +#include <QQmlDebuggingEnabler> +QQmlDebuggingEnabler enabler; +#endif + void stacktraceHandler(int signum) {