Remove const from qHash

This commit is contained in:
Jonas Kvinge
2024-08-25 01:37:46 +02:00
parent b964385024
commit 9334fe9f24
2 changed files with 4 additions and 4 deletions

View File

@@ -61,9 +61,9 @@ bool CollectionFilter::filterAcceptsRow(const int source_row, const QModelIndex
}
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
const size_t hash = qHash(filter_string_);
size_t hash = qHash(filter_string_);
#else
const uint hash = qHash(filter_string_);
uint hash = qHash(filter_string_);
#endif
if (hash != query_hash_) {
FilterParser p(filter_string_);