summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qeventpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qeventpoint.cpp')
-rw-r--r--src/gui/kernel/qeventpoint.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qeventpoint.cpp b/src/gui/kernel/qeventpoint.cpp
index 922550ca47..66d4f44ea0 100644
--- a/src/gui/kernel/qeventpoint.cpp
+++ b/src/gui/kernel/qeventpoint.cpp
@@ -339,7 +339,7 @@ ulong QEventPoint::pressTimestamp() const
/*!
\property QEventPoint::timeHeld
- \brief the duration, in milliseconds, since this point was pressed and not released.
+ \brief the duration, in seconds, since this point was pressed and not released.
\sa pressTimestamp, timestamp
*/
@@ -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