diff options
Diffstat (limited to 'common/datastorequery.cpp')
-rw-r--r-- | common/datastorequery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/datastorequery.cpp b/common/datastorequery.cpp index aa7b772..0987d68 100644 --- a/common/datastorequery.cpp +++ b/common/datastorequery.cpp | |||
@@ -400,8 +400,8 @@ QVector<QByteArray> DataStoreQuery::indexLookup(const QByteArray &property, cons | |||
400 | 400 | ||
401 | QByteArrayList DataStoreQuery::executeSubquery(const Query &subquery) | 401 | QByteArrayList DataStoreQuery::executeSubquery(const Query &subquery) |
402 | { | 402 | { |
403 | Q_ASSERT(!subquery.type.isEmpty()); | 403 | Q_ASSERT(!subquery.type().isEmpty()); |
404 | auto sub = DataStoreQuery(subquery, subquery.type, mStore); | 404 | auto sub = DataStoreQuery(subquery, subquery.type(), mStore); |
405 | auto result = sub.execute(); | 405 | auto result = sub.execute(); |
406 | QByteArrayList ids; | 406 | QByteArrayList ids; |
407 | while (result.next([&ids](const ResultSet::Result &result) { | 407 | while (result.next([&ids](const ResultSet::Result &result) { |