diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_count.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_count.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |