From a372d9cc6c950beb401aef9005f97faeaf95b804 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 9 Feb 2017 15:17:54 +0100 Subject: Fixed query flags. --- common/query.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/query.h b/common/query.h index 50e93de..8e9050d 100644 --- a/common/query.h +++ b/common/query.h @@ -296,10 +296,11 @@ class SINK_EXPORT Query : public QueryBase public: enum Flag { + NoFlags = 0, /** Leave the query running and continuously update the result set. */ - LiveQuery, + LiveQuery = 1, /** Run the query synchronously. */ - SynchronousQuery + SynchronousQuery = 2 }; Q_DECLARE_FLAGS(Flags, Flag) -- cgit v1.2.3