diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-02-14 10:01:30 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-03-13 10:23:52 +0000 |
| commit | 92eb2f691bb773744a8e427bd13ea32ba39d5078 (patch) | |
| tree | 83567ffbaa99ae034b826b34413371f46951bc88 /src/opengl/qopenglcompositor.cpp | |
| parent | 73c52ba2687c2035a40141f2a5236399f8331f4b (diff) | |
QGuiApplication: copy a Prealloc value instead of hard-coding 16
The EventPointMap QPointingDevicePrivate::activePoints is actually a
QVarLengthFlatMap<., ., 20>, not 16, so copy the value instead of just
hard-coding something.
Amends 296ede3aab2c0cc1acd28a2adb3017ac74d7ed6b.
Change-Id: Ic8e83f4095f57be74f7708d5cec6a19971772b76
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/opengl/qopenglcompositor.cpp')
0 files changed, 0 insertions, 0 deletions
