summaryrefslogtreecommitdiffstats
path: root/common/typeindex.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-31 11:22:59 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-31 11:22:59 +0100
commit5725da30d7cff221f1603d3f0b2346000c74fd51 (patch)
tree08aa035dd879a19f66494f2fcade579951142c1c /common/typeindex.cpp
parentcf8c6dfe32580d2d93cb67f496f50fa14c572f5c (diff)
downloadsink-5725da30d7cff221f1603d3f0b2346000c74fd51.tar.gz
sink-5725da30d7cff221f1603d3f0b2346000c74fd51.zip
Don't always return after the first iteration
Diffstat (limited to 'common/typeindex.cpp')
-rw-r--r--common/typeindex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/typeindex.cpp b/common/typeindex.cpp
index 03ad8f7..e58832c 100644
--- a/common/typeindex.cpp
+++ b/common/typeindex.cpp
@@ -111,9 +111,9 @@ ResultSet TypeIndex::query(const Sink::Query &query, QSet<QByteArray> &appliedFi
111 Warning() << "Error in index: " << error.message << property; 111 Warning() << "Error in index: " << error.message << property;
112 }); 112 });
113 appliedFilters << property; 113 appliedFilters << property;
114 Trace() << "Index lookup on " << property << " found " << keys.size() << " keys.";
115 return ResultSet(keys);
114 } 116 }
115 Trace() << "Index lookup on " << property << " found " << keys.size() << " keys.";
116 return ResultSet(keys);
117 } 117 }
118 Trace() << "No matching index"; 118 Trace() << "No matching index";
119 return ResultSet(keys); 119 return ResultSet(keys);