gui: Perform content search and path search by default

Search for content and paths. Merge lone words for content search.

This behaviour is much more natural than typing "c:()".
This commit is contained in:
2021-12-30 12:17:12 +01:00
parent bb5a793300
commit 407ee1210c
6 ha cambiato i file con 27 aggiunte e 10 eliminazioni

Vedi File

@@ -54,7 +54,7 @@ class LooqsQuery
}
void addSortCondition(SortCondition sc);
static bool checkParanthesis(QString query);
static LooqsQuery build(QString query);
static LooqsQuery build(QString query, TokenType loneWordsTokenType, bool mergeLoneWords);
};
#endif // LOOQSQUERY_H