summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-10-15 02:32:00 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-10-16 01:08:00 +0200
commitef1905aebc4c4961c859bd781398dc6cea89d3a0 (patch)
tree5ac7cab6bc5d612d3dc2c672d62a5dd8c0e983b7 /src/widgets
parent9f1e1eb5524fbf27a9fd2db4f1d98bb2bcd90077 (diff)
QMultiHash: fix operator==
An empty QMultiHash can still have an allocated dpointer, so we can't desume that two hashes are different because one has a dpointer and the other doesn't. Compares the sizes first, and infer that equal size, and non-zero size, mean both have a dpointer. Fixes: QTBUG-87575 Change-Id: I2e206bd071c02fb8970a4e77f8b0d29ad7e58bbe Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions