diff options
Diffstat (limited to 'common/test.cpp')
-rw-r--r-- | common/test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/test.cpp b/common/test.cpp index 1a8e11d..97c42ef 100644 --- a/common/test.cpp +++ b/common/test.cpp | |||
@@ -147,7 +147,7 @@ public: | |||
147 | } | 147 | } |
148 | SinkTrace() << "-------------------------."; | 148 | SinkTrace() << "-------------------------."; |
149 | for (const auto &res : mTestAccount->entities<T>()) { | 149 | for (const auto &res : mTestAccount->entities<T>()) { |
150 | qDebug() << "Parent filter " << query.propertyFilter.value("parent").value.toByteArray() << res->identifier() << res->getProperty("parent").toByteArray(); | 150 | qDebug() << "Parent filter " << query.getFilter("parent").value.toByteArray() << res->identifier() << res->getProperty("parent").toByteArray(); |
151 | auto parentProperty = res->getProperty("parent").toByteArray(); | 151 | auto parentProperty = res->getProperty("parent").toByteArray(); |
152 | if ((!parent && parentProperty.isEmpty()) || (parent && parentProperty == parent->identifier()) || query.parentProperty.isEmpty()) { | 152 | if ((!parent && parentProperty.isEmpty()) || (parent && parentProperty == parent->identifier()) || query.parentProperty.isEmpty()) { |
153 | qDebug() << "Found a match" << res->identifier(); | 153 | qDebug() << "Found a match" << res->identifier(); |