diff options
Diffstat (limited to 'common/query.h')
-rw-r--r-- | common/query.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/query.h b/common/query.h index bb826aa..29cff78 100644 --- a/common/query.h +++ b/common/query.h | |||
@@ -103,6 +103,7 @@ public: | |||
103 | } | 103 | } |
104 | 104 | ||
105 | Query(Flags flags = Flags()) | 105 | Query(Flags flags = Flags()) |
106 | : limit(0) | ||
106 | {} | 107 | {} |
107 | 108 | ||
108 | Query& operator+=(const Query& rhs) | 109 | Query& operator+=(const Query& rhs) |
@@ -115,8 +116,6 @@ public: | |||
115 | requestedProperties += rhs.requestedProperties; | 116 | requestedProperties += rhs.requestedProperties; |
116 | parentProperty = rhs.parentProperty; | 117 | parentProperty = rhs.parentProperty; |
117 | liveQuery = rhs.liveQuery; | 118 | liveQuery = rhs.liveQuery; |
118 | syncOnDemand = rhs.syncOnDemand; | ||
119 | processAll = rhs.processAll; | ||
120 | return *this; | 119 | return *this; |
121 | } | 120 | } |
122 | 121 | ||
@@ -133,8 +132,7 @@ public: | |||
133 | QByteArray parentProperty; | 132 | QByteArray parentProperty; |
134 | QByteArray sortProperty; | 133 | QByteArray sortProperty; |
135 | bool liveQuery; | 134 | bool liveQuery; |
136 | bool syncOnDemand; | 135 | int limit; |
137 | bool processAll; | ||
138 | }; | 136 | }; |
139 | 137 | ||
140 | } | 138 | } |