summaryrefslogtreecommitdiffstats
path: root/sinksh/syntax_modules/sink_stat.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-04 12:40:24 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-04 12:40:24 +0100
commitba94c4300c52dd80774ed7affc2ef9b4508cb7be (patch)
tree3c8bf6ce042a4544e81901d901a3a3759d0a128a /sinksh/syntax_modules/sink_stat.cpp
parent98b682acb8c57cadaea5ff0ac6709d21a591b97b (diff)
downloadsink-ba94c4300c52dd80774ed7affc2ef9b4508cb7be.tar.gz
sink-ba94c4300c52dd80774ed7affc2ef9b4508cb7be.zip
Don't expose the live query flag directly.
Diffstat (limited to 'sinksh/syntax_modules/sink_stat.cpp')
-rw-r--r--sinksh/syntax_modules/sink_stat.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sinksh/syntax_modules/sink_stat.cpp b/sinksh/syntax_modules/sink_stat.cpp
index 5978c01..982d4cf 100644
--- a/sinksh/syntax_modules/sink_stat.cpp
+++ b/sinksh/syntax_modules/sink_stat.cpp
@@ -69,7 +69,6 @@ void statResources(const QStringList &resources, const State &state)
69bool statAllResources(State &state) 69bool statAllResources(State &state)
70{ 70{
71 Sink::Query query; 71 Sink::Query query;
72 query.liveQuery = false;
73 QStringList resources; 72 QStringList resources;
74 for (const auto &r : SinkshUtils::getStore("resource").read(query)) { 73 for (const auto &r : SinkshUtils::getStore("resource").read(query)) {
75 resources << r.identifier(); 74 resources << r.identifier();