From 2660a30589af9d01798b04a6fd1e9090a1f0cdd0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 7 Nov 2016 19:21:05 +0100 Subject: Fixed flag testing --- common/query.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/query.h b/common/query.h index 70b6d63..4a73357 100644 --- a/common/query.h +++ b/common/query.h @@ -369,12 +369,12 @@ public: bool liveQuery() const { - return mFlags & LiveQuery; + return mFlags.testFlag(LiveQuery); } bool synchronousQuery() const { - return mFlags & SynchronousQuery; + return mFlags.testFlag(SynchronousQuery); } Filter getResourceFilter() const -- cgit v1.2.3