diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_show.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_show.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sinksh/syntax_modules/sink_show.cpp b/sinksh/syntax_modules/sink_show.cpp index 100b921..5197e77 100644 --- a/sinksh/syntax_modules/sink_show.cpp +++ b/sinksh/syntax_modules/sink_show.cpp | |||
@@ -58,9 +58,9 @@ bool show(const QStringList &args, State &state) | |||
58 | 58 | ||
59 | Sink::Query query; | 59 | Sink::Query query; |
60 | if (queryForResourceOrAgent) { | 60 | if (queryForResourceOrAgent) { |
61 | query.ids << resource.toLatin1(); | 61 | query.filter(resource.toLatin1()); |
62 | } else { | 62 | } else { |
63 | query.resources << resource.toLatin1(); | 63 | query.filter(Sink::ApplicationDomain::SinkResource(resource.toLatin1())); |
64 | } | 64 | } |
65 | query.liveQuery = false; | 65 | query.liveQuery = false; |
66 | 66 | ||