Remove const from qHash
This commit is contained in:
@@ -61,9 +61,9 @@ bool CollectionFilter::filterAcceptsRow(const int source_row, const QModelIndex
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||||
const size_t hash = qHash(filter_string_);
|
size_t hash = qHash(filter_string_);
|
||||||
#else
|
#else
|
||||||
const uint hash = qHash(filter_string_);
|
uint hash = qHash(filter_string_);
|
||||||
#endif
|
#endif
|
||||||
if (hash != query_hash_) {
|
if (hash != query_hash_) {
|
||||||
FilterParser p(filter_string_);
|
FilterParser p(filter_string_);
|
||||||
|
|||||||
@@ -58,9 +58,9 @@ bool PlaylistFilter::filterAcceptsRow(const int source_row, const QModelIndex &s
|
|||||||
if (filter_string_.isEmpty()) return true;
|
if (filter_string_.isEmpty()) return true;
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||||
const size_t hash = qHash(filter_string_);
|
size_t hash = qHash(filter_string_);
|
||||||
#else
|
#else
|
||||||
const uint hash = qHash(filter_string_);
|
uint hash = qHash(filter_string_);
|
||||||
#endif
|
#endif
|
||||||
if (hash != query_hash_) {
|
if (hash != query_hash_) {
|
||||||
FilterParser p(filter_string_);
|
FilterParser p(filter_string_);
|
||||||
|
|||||||
Reference in New Issue
Block a user