diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-11-04 18:03:36 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-11-09 04:05:50 -0700 |
commit | da6efbb12b8ace783c8dcc8e43c34c7269410829 (patch) | |
tree | 9922776b71a568a1b748266f9231804e141826bd /tests | |
parent | 8a3a87d13c39d4540801d9b6833af07db8dc8051 (diff) |
QVariant: simplify getting integer contents by using the type size
This reduces the chances of mistakes in forgetting a type. Plus, this
makes it easier to add char16_t and char32_t.
Drive-by change some type().id() code that doesn't need the ID for user
types to typeInterface()->typeId.
Change-Id: I3d74c753055744deb8acfffd17248aa81bf8ce55
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions