From 993a9eadb30c55bbb764a1fc123c5dfbb502b1f1 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 20 Jul 2016 09:33:22 +0200 Subject: sinksh trace off should clear the filter --- sinksh/syntax_modules/sink_trace.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'sinksh/syntax_modules/sink_trace.cpp') diff --git a/sinksh/syntax_modules/sink_trace.cpp b/sinksh/syntax_modules/sink_trace.cpp index 8bd52a0..ed5e2d8 100644 --- a/sinksh/syntax_modules/sink_trace.cpp +++ b/sinksh/syntax_modules/sink_trace.cpp @@ -38,6 +38,7 @@ namespace SinkTrace bool traceOff(const QStringList &args, State &state) { + Sink::Log::setDebugOutputFilter(Sink::Log::Area, QByteArrayList()); Sink::Log::setDebugOutputLevel(Sink::Log::Log); std::cout << "Turned trace off." << std::endl; return true; -- cgit v1.2.3