From: Martin Jones Date: Mon, 18 Jul 2011 04:28:10 +0000 (+1000) Subject: Clearing a hash makes its length 0. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=62a97799a4d3220699956d81a3328954e14cf6a1;p=konrad%2Fqtdeclarative.git Clearing a hash makes its length 0. Change-Id: Ie5b1251212b504d7a7621abdd7fe4e9305790846 Reviewed-on: http://codereview.qt.nokia.com/3752 Reviewed-by: Roberto Raggi Reviewed-by: Qt Sanity Bot --- diff --git a/src/declarative/qml/ftw/qhashedstring_p.h b/src/declarative/qml/ftw/qhashedstring_p.h index 041ad02..1633855 100644 --- a/src/declarative/qml/ftw/qhashedstring_p.h +++ b/src/declarative/qml/ftw/qhashedstring_p.h @@ -409,6 +409,7 @@ void QStringHash::clear() data.buckets = 0; data.numBuckets = 0; data.numBits = 0; + data.size = 0; nodePool = 0; }