summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/query.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/query.h b/common/query.h
index 3f14dd8..57f8a4d 100644
--- a/common/query.h
+++ b/common/query.h
@@ -382,6 +382,11 @@ public:
382 mFlags = flags; 382 mFlags = flags;
383 } 383 }
384 384
385 void setLimit(int l)
386 {
387 limit = l;
388 }
389
385 bool liveQuery() const 390 bool liveQuery() const
386 { 391 {
387 return mFlags.testFlag(LiveQuery); 392 return mFlags.testFlag(LiveQuery);