shared: LooksQuery: init tokensMask with 0 to be sure

This commit is contained in:
Albert S. 2021-06-12 22:48:59 +02:00
parent 414d53e59a
commit 248bfb96fe

View File

@ -39,7 +39,7 @@ class LooqsQuery
private:
/* Helper field to determine quertype as well as to quickly check what kind of filters etc.
* are being used in this query*/
int tokensMask;
int tokensMask = 0;
QVector<Token> tokens;
QVector<SortCondition> sortConditions;
void addToken(Token t);