summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qpointingdevice_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qpointingdevice_p.h')
-rw-r--r--src/gui/kernel/qpointingdevice_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qpointingdevice_p.h b/src/gui/kernel/qpointingdevice_p.h
index 3638dbc39a..403a54dc4f 100644
--- a/src/gui/kernel/qpointingdevice_p.h
+++ b/src/gui/kernel/qpointingdevice_p.h
@@ -72,7 +72,7 @@ public:
void clearPassiveGrabbers(const QPointerEvent *event, const QEventPoint &point);
void removeGrabber(QObject *grabber, bool cancel = false);
- using EventPointMap = QFlatMap<int, EventPointData>;
+ using EventPointMap = QVarLengthFlatMap<int, EventPointData, 20>;
mutable EventPointMap activePoints;
QPointingDeviceUniqueId uniqueId;