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 cf2e8a3..1a0d9bc 100644 --- a/common/test.cpp +++ b/common/test.cpp | |||
@@ -151,7 +151,7 @@ public: | |||
151 | for (const auto &res : mTestAccount->entities<T>()) { | 151 | for (const auto &res : mTestAccount->entities<T>()) { |
152 | qDebug() << "Parent filter " << query.getFilter("parent").value.toByteArray() << res->identifier() << res->getProperty("parent").toByteArray(); | 152 | qDebug() << "Parent filter " << query.getFilter("parent").value.toByteArray() << res->identifier() << res->getProperty("parent").toByteArray(); |
153 | auto parentProperty = res->getProperty("parent").toByteArray(); | 153 | auto parentProperty = res->getProperty("parent").toByteArray(); |
154 | if ((!parent && parentProperty.isEmpty()) || (parent && parentProperty == parent->identifier()) || query.parentProperty.isEmpty()) { | 154 | if ((!parent && parentProperty.isEmpty()) || (parent && parentProperty == parent->identifier()) || query.parentProperty().isEmpty()) { |
155 | qDebug() << "Found a match" << res->identifier(); | 155 | qDebug() << "Found a match" << res->identifier(); |
156 | resultProvider->add(res.template staticCast<T>()); | 156 | resultProvider->add(res.template staticCast<T>()); |
157 | } | 157 | } |