diff options
| author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-09-23 08:59:45 +0200 |
|---|---|---|
| committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-10-06 08:49:16 +0000 |
| commit | b22a726f25b47f2a800a16d35da6aee7f622bcd9 (patch) | |
| tree | eb50f9cc4e058ba02c4393f5298cdae7857a6429 /src/corelib/global/qfunctionpointer.h | |
| parent | b439f06941007483ee14aeeb4fb09ac8148c8038 (diff) | |
InputMethodQueryResult - use int as a key, not Qt::InputMethodQuery
In release mode different qHash overloads picked up for enumerators
in 2 different translation units (and this can be even affected by the
order of includes), thus resulting in one hash with which we insert
a value, and a different hash, when we are trying to extract the value,
which _is_ in QHash; getting us a default value (invalid QVariant in our case).
Pick-to: 6.2 6.4
Fixes: QTBUG-106219
Change-Id: I7cce35555d792f03e50639a8d3d25f6a74de05a6
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/global/qfunctionpointer.h')
0 files changed, 0 insertions, 0 deletions
