Utils: Fix FilePath::hash() regarding to case sensitivity

Change-Id: I2b7f7fa141ec80ec6f0256c4f384ed622b35ba15
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-11-17 15:34:26 +01:00
parent 47b5613c53
commit 6046fa8354

View File

@@ -1219,7 +1219,7 @@ FilePath FilePath::stringAppended(const QString &str) const
size_t FilePath::hash(uint seed) const
{
if (HostOsInfo::fileNameCaseSensitivity() == Qt::CaseInsensitive)
if (caseSensitivity() == Qt::CaseInsensitive)
return qHash(path().toCaseFolded(), seed);
return qHash(path(), seed);
}