chore(clang-tidy): modernize the code

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2026-05-13 11:14:42 +03:00
parent 2b0b9824a3
commit 3435c6de48
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
8 changed files with 63 additions and 61 deletions

View file

@ -230,7 +230,7 @@ int DataPack::compare(const Resource& other, SortType type) const
return 0;
}
bool DataPack::applyFilter(QRegularExpression filter) const
bool DataPack::applyFilter(const QRegularExpression& filter) const
{
if (filter.match(description()).hasMatch()) {
return true;