diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-22 18:22:39 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-22 18:22:39 +0100 |
commit | b2ad8f785e801a35cadf254d827f56d648be510c (patch) | |
tree | 4eeb1e3eefb02c40dac40469c0fae5ad91feb3e3 /sinksh | |
parent | 1fe8664ec74165fc3f250098609ea0e049e3adc8 (diff) | |
download | sink-b2ad8f785e801a35cadf254d827f56d648be510c.tar.gz sink-b2ad8f785e801a35cadf254d827f56d648be510c.zip |
Introduced Log::Context
To have hierarchical debug output we have to pass around something at
run-time, there is no reasonable alternative. Log::Context provides the
identifier to do just that and largely replaces the debug component
idea.
Diffstat (limited to 'sinksh')
-rw-r--r-- | sinksh/syntax_modules/sink_list.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sinksh/syntax_modules/sink_list.cpp b/sinksh/syntax_modules/sink_list.cpp index 1e15dd3..dd1498f 100644 --- a/sinksh/syntax_modules/sink_list.cpp +++ b/sinksh/syntax_modules/sink_list.cpp | |||
@@ -80,6 +80,7 @@ bool list(const QStringList &args_, State &state) | |||
80 | } | 80 | } |
81 | 81 | ||
82 | Sink::Query query; | 82 | Sink::Query query; |
83 | query.setId("list"); | ||
83 | 84 | ||
84 | if (options.options.contains("resource")) { | 85 | if (options.options.contains("resource")) { |
85 | query.resourceFilter(baIfAvailable(options.options.value("resource"))); | 86 | query.resourceFilter(baIfAvailable(options.options.value("resource"))); |