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 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 17f61ddc63291914cbd4402f8398a6e9709f7b37) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
3858614666
commit
426740ba1d
@ -536,6 +536,7 @@ void QMutableEventPoint::update(const QEventPoint &other, QEventPoint &target)
|
|||||||
setEllipseDiameters(target, other.ellipseDiameters());
|
setEllipseDiameters(target, other.ellipseDiameters());
|
||||||
setRotation(target, other.rotation());
|
setRotation(target, other.rotation());
|
||||||
setVelocity(target, other.velocity());
|
setVelocity(target, other.velocity());
|
||||||
|
setUniqueId(target, other.uniqueId()); // for TUIO
|
||||||
}
|
}
|
||||||
|
|
||||||
/*! \internal
|
/*! \internal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user