summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/entitystorage.cpp1
-rw-r--r--common/resultset.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/common/entitystorage.cpp b/common/entitystorage.cpp
index 33b65d6..b77b481 100644
--- a/common/entitystorage.cpp
+++ b/common/entitystorage.cpp
@@ -148,7 +148,6 @@ ResultSet EntityStorageBase::getResultSet(const Akonadi2::Query &query, Akonadi2
148 return key; 148 return key;
149 } 149 }
150 //We're done 150 //We're done
151 //FIXME make sure result set understands that this means we're done
152 return QByteArray(); 151 return QByteArray();
153 }); 152 });
154 } 153 }
diff --git a/common/resultset.h b/common/resultset.h
index a888177..746b94b 100644
--- a/common/resultset.h
+++ b/common/resultset.h
@@ -70,6 +70,9 @@ class ResultSet {
70 } 70 }
71 return mIt != mResultSet.constEnd(); 71 return mIt != mResultSet.constEnd();
72 } 72 }
73 if (!mCurrentValue.isNull()) {
74 return true;
75 }
73 return false; 76 return false;
74 } 77 }
75 78