summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qhash.h')
-rw-r--r--src/corelib/tools/qhash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.h b/src/corelib/tools/qhash.h
index 5dc88943fc..70e98bed60 100644
--- a/src/corelib/tools/qhash.h
+++ b/src/corelib/tools/qhash.h
@@ -560,7 +560,7 @@ struct Data
return iterator{ this, bucket };
} else {
Node &n = s.atOffset(offset);
- if (n.key == key)
+ if (qHashEquals(n.key, key))
return iterator{ this, bucket };
}
bucket = nextBucket(bucket);