summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/datastorequery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/datastorequery.cpp b/common/datastorequery.cpp
index ad21910..f3d9415 100644
--- a/common/datastorequery.cpp
+++ b/common/datastorequery.cpp
@@ -303,8 +303,9 @@ public:
303 } else { 303 } else {
304 //During initial query, do nothing. The lookup above will take care of it. 304 //During initial query, do nothing. The lookup above will take care of it.
305 //During updates adjust the reduction according to the modification/addition or removal 305 //During updates adjust the reduction according to the modification/addition or removal
306 //We have to redo the reduction for every element, because of the aggregation values.
306 if (mIncremental) { 307 if (mIncremental) {
307 //redo the reduction 308 //Redo the reduction to find new aggregated values
308 QMap<QByteArray, QVariant> aggregateValues; 309 QMap<QByteArray, QVariant> aggregateValues;
309 auto selectionResult = reduceOnValue(reductionValue, aggregateValues); 310 auto selectionResult = reduceOnValue(reductionValue, aggregateValues);
310 311