From 17f61ddc63291914cbd4402f8398a6e9709f7b37 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 4 Aug 2023 17:18:34 +0200 Subject: [PATCH] QMutableEventPoint::update(): update the touchpoint uniqueId too Most touch events don't have uniqueIds, but it happens with TUIO fiducial objects. Fixes: QTBUG-115758 Change-Id: Ibacce255898ce63090bc5b888c12242838603dd5 Pick-to: 6.5 6.6 Reviewed-by: Axel Spoerl --- src/gui/kernel/qeventpoint.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/kernel/qeventpoint.cpp b/src/gui/kernel/qeventpoint.cpp index bbb0baee79..66d4f44ea0 100644 --- a/src/gui/kernel/qeventpoint.cpp +++ b/src/gui/kernel/qeventpoint.cpp @@ -536,6 +536,7 @@ void QMutableEventPoint::update(const QEventPoint &other, QEventPoint &target) setEllipseDiameters(target, other.ellipseDiameters()); setRotation(target, other.rotation()); setVelocity(target, other.velocity()); + setUniqueId(target, other.uniqueId()); // for TUIO } /*! \internal