fix: filtering in regex search in resource packs

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-08-28 22:58:43 -03:00
parent 3ab17a97a8
commit 6a93688b2e
2 changed files with 18 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class ResourcePack : public Resource {
void setDescription(QString new_description);
[[nodiscard]] auto compare(Resource const& other, SortType type) const -> std::pair<int, bool> override;
[[nodiscard]] bool applyFilter(QRegularExpression filter) const override;
protected:
mutable QMutex m_data_lock;