From e470f65cad943f8a3065c6f5f6287adcc704627e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 5 Oct 2016 00:09:30 +0200 Subject: Specify base set as part of the filter stages in the query. --- sinksh/syntax_modules/sink_show.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sinksh/syntax_modules') 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) Sink::Query query; if (queryForResourceOrAgent) { - query.ids << resource.toLatin1(); + query.filter(resource.toLatin1()); } else { - query.resources << resource.toLatin1(); + query.filter(Sink::ApplicationDomain::SinkResource(resource.toLatin1())); } query.liveQuery = false; -- cgit v1.2.3