summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qlocale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qlocale.cpp')
-rw-r--r--src/corelib/text/qlocale.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp
index 2ddb27fc6e..8df28797bd 100644
--- a/src/corelib/text/qlocale.cpp
+++ b/src/corelib/text/qlocale.cpp
@@ -1091,10 +1091,7 @@ bool QLocale::operator!=(const QLocale &other) const
*/
size_t qHash(const QLocale &key, size_t seed) noexcept
{
- QtPrivate::QHashCombine hash;
- seed = hash(seed, key.d->m_data);
- seed = hash(seed, key.d->m_numberOptions);
- return seed;
+ return qHashMulti(seed, key.d->m_data, key.d->m_numberOptions);
}
/*!