diff options
Diffstat (limited to 'sinksh')
-rw-r--r-- | sinksh/sinksh_utils.cpp | 1 | ||||
-rw-r--r-- | sinksh/syntax_modules/sink_count.cpp | 1 | ||||
-rw-r--r-- | sinksh/syntax_modules/sink_list.cpp | 2 | ||||
-rw-r--r-- | sinksh/syntax_modules/sink_show.cpp | 1 | ||||
-rw-r--r-- | sinksh/syntax_modules/sink_stat.cpp | 1 |
5 files changed, 0 insertions, 6 deletions
diff --git a/sinksh/sinksh_utils.cpp b/sinksh/sinksh_utils.cpp index ec07e47..cb53ff2 100644 --- a/sinksh/sinksh_utils.cpp +++ b/sinksh/sinksh_utils.cpp | |||
@@ -90,7 +90,6 @@ QSharedPointer<QAbstractItemModel> loadModel(const QString &type, Sink::Query qu | |||
90 | QStringList resourceIds() | 90 | QStringList resourceIds() |
91 | { | 91 | { |
92 | Sink::Query query; | 92 | Sink::Query query; |
93 | query.liveQuery = false; | ||
94 | QStringList resources; | 93 | QStringList resources; |
95 | for (const auto &r : getStore("resource").read(query)) { | 94 | for (const auto &r : getStore("resource").read(query)) { |
96 | resources << r.identifier(); | 95 | resources << r.identifier(); |
diff --git a/sinksh/syntax_modules/sink_count.cpp b/sinksh/syntax_modules/sink_count.cpp index 7e04c79..84bbabd 100644 --- a/sinksh/syntax_modules/sink_count.cpp +++ b/sinksh/syntax_modules/sink_count.cpp | |||
@@ -53,7 +53,6 @@ bool count(const QStringList &args, State &state) | |||
53 | for (const auto &res : resources) { | 53 | for (const auto &res : resources) { |
54 | query.resourceFilter(res.toLatin1()); | 54 | query.resourceFilter(res.toLatin1()); |
55 | } | 55 | } |
56 | query.liveQuery = false; | ||
57 | 56 | ||
58 | auto model = SinkshUtils::loadModel(type, query); | 57 | auto model = SinkshUtils::loadModel(type, query); |
59 | QObject::connect(model.data(), &QAbstractItemModel::dataChanged, [model, state](const QModelIndex &, const QModelIndex &, const QVector<int> &roles) { | 58 | QObject::connect(model.data(), &QAbstractItemModel::dataChanged, [model, state](const QModelIndex &, const QModelIndex &, const QVector<int> &roles) { |
diff --git a/sinksh/syntax_modules/sink_list.cpp b/sinksh/syntax_modules/sink_list.cpp index e176aab..bb2f1fe 100644 --- a/sinksh/syntax_modules/sink_list.cpp +++ b/sinksh/syntax_modules/sink_list.cpp | |||
@@ -68,8 +68,6 @@ bool list(const QStringList &args, State &state) | |||
68 | 68 | ||
69 | } | 69 | } |
70 | 70 | ||
71 | query.liveQuery = false; | ||
72 | |||
73 | query.requestedProperties = SinkshUtils::requestedProperties(type); | 71 | query.requestedProperties = SinkshUtils::requestedProperties(type); |
74 | 72 | ||
75 | QStringList line; | 73 | QStringList line; |
diff --git a/sinksh/syntax_modules/sink_show.cpp b/sinksh/syntax_modules/sink_show.cpp index 45fd62c..8e3f715 100644 --- a/sinksh/syntax_modules/sink_show.cpp +++ b/sinksh/syntax_modules/sink_show.cpp | |||
@@ -62,7 +62,6 @@ bool show(const QStringList &args, State &state) | |||
62 | } else { | 62 | } else { |
63 | query.resourceFilter(resource.toLatin1()); | 63 | query.resourceFilter(resource.toLatin1()); |
64 | } | 64 | } |
65 | query.liveQuery = false; | ||
66 | 65 | ||
67 | QTime time; | 66 | QTime time; |
68 | time.start(); | 67 | time.start(); |
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) | |||
69 | bool statAllResources(State &state) | 69 | bool 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(); |