diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-27 11:25:49 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-27 11:25:49 +0200 |
commit | 577c2c344079c1a87d3d93be5f957e5f2d935bff (patch) | |
tree | d158857f9a832649e1c0b498b768a30d614fc613 /common/queryrunner.cpp | |
parent | fd532607ef29aac49b52c861e5aecda6dfa19e82 (diff) | |
download | sink-577c2c344079c1a87d3d93be5f957e5f2d935bff.tar.gz sink-577c2c344079c1a87d3d93be5f957e5f2d935bff.zip |
Don't access the propertyFilter list directly.
Diffstat (limited to 'common/queryrunner.cpp')
-rw-r--r-- | common/queryrunner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/queryrunner.cpp b/common/queryrunner.cpp index 11459f1..d3f8f66 100644 --- a/common/queryrunner.cpp +++ b/common/queryrunner.cpp | |||
@@ -248,10 +248,10 @@ QPair<qint64, qint64> QueryWorker<DomainType>::executeInitialQuery( | |||
248 | if (!query.parentProperty.isEmpty()) { | 248 | if (!query.parentProperty.isEmpty()) { |
249 | if (parent) { | 249 | if (parent) { |
250 | SinkTrace() << "Running initial query for parent:" << parent->identifier(); | 250 | SinkTrace() << "Running initial query for parent:" << parent->identifier(); |
251 | modifiedQuery.propertyFilter.insert(query.parentProperty, Query::Comparator(parent->identifier())); | 251 | modifiedQuery.filter(query.parentProperty, Query::Comparator(parent->identifier())); |
252 | } else { | 252 | } else { |
253 | SinkTrace() << "Running initial query for toplevel"; | 253 | SinkTrace() << "Running initial query for toplevel"; |
254 | modifiedQuery.propertyFilter.insert(query.parentProperty, Query::Comparator(QVariant())); | 254 | modifiedQuery.filter(query.parentProperty, Query::Comparator(QVariant())); |
255 | } | 255 | } |
256 | } | 256 | } |
257 | 257 | ||