diff options
| author | Volker Hilsheimer <[email protected]> | 2025-12-04 20:19:57 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <[email protected]> | 2025-12-05 18:10:05 +0100 |
| commit | 93fb8b0db67639495e345c70aa80a74fd579180a (patch) | |
| tree | 967e1d0f4baebbac7127bef1b03e15f9794305e9 /src/gui/opengl/qopenglfunctions.cpp | |
| parent | 9f9d282af984baa5e2bf0b699a7c8e3d4a8a6fbe (diff) | |
QRM: implement itemData in terms of multiData
No need to duplicate the entire logic. The only overhead is that we have
to create a QModelRoleDataSpan for all roles, except our internal roles.
Using a QVarLengthArray makes that cheap.
The only special case we keep is for items that are backed by a type
that is directly convertible to a QMap<int, QVariant>. This comes with
a small overhead for acessing the element at runtime.
Pick-to: 6.10
Change-Id: I33f86d231bef9036a7e83584d1bf013f129b8075
Reviewed-by: Artem Dyomin <[email protected]>
Diffstat (limited to 'src/gui/opengl/qopenglfunctions.cpp')
0 files changed, 0 insertions, 0 deletions
