diff --git a/src/corelib/tools/qhash.h b/src/corelib/tools/qhash.h index 8fe66aac76..42c33f6f78 100644 --- a/src/corelib/tools/qhash.h +++ b/src/corelib/tools/qhash.h @@ -109,7 +109,7 @@ template inline uint qHash(const QPair &key) return ((h1 << 16) | (h1 >> 16)) ^ h2; } -template inline uint qHash(const T &t, uint) { return qHash(t); } +template inline uint qHash(const T &t, uint seed) { return (qHash(t) ^ seed); } struct Q_CORE_EXPORT QHashData {